[Skiboot] [PATCH 1/3] core/i2c: Move the timeout field into i2c_request
Stewart Smith
stewart at linux.ibm.com
Tue Sep 18 17:39:16 AEST 2018
"Oliver O'Halloran" <oohall at gmail.com> writes:
> Currently to set a per-request timeout you need to use
> i2c_req_set_timeout() which is a wrapper for a per-bus method that sets the
> actual timeout. This design doesn't make a whole lot of sense, so move
> the timeout field into the generic i2c_request structure and set the
> timeout to be set using that.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
> core/i2c.c | 3 ++-
> hw/p8-i2c.c | 28 ++++------------------------
> include/i2c.h | 10 +---------
> platforms/ibm-fsp/firenze-pci.c | 24 ++++++++++++------------
> 4 files changed, 19 insertions(+), 46 deletions(-)
Series merged to master as of 801462feb7d6c303cfc4c3338351d4d57de70c50
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list