On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: > From: Andrew Bresticker <[email protected]> > > Instead of having users of the ChromeOS EC call the interface-specific > cmd_xfer() callback directly, introduce a central cros_ec_cmd_xfer() > to use instead. This will allow us to put all the locking and retry > logic in one place instead of duplicating it across the different > drivers. > > Signed-off-by: Andrew Bresticker <[email protected]> > Reviewed-by: Simon Glass <[email protected]> > Signed-off-by: Javier Martinez Canillas <[email protected]> > --- > drivers/i2c/busses/i2c-cros-ec-tunnel.c | 2 +- > drivers/input/keyboard/cros_ec_keyb.c | 2 +- > drivers/mfd/cros_ec.c | 7 +++++++ > include/linux/mfd/cros_ec.h | 24 ++++++++++++++++++------ > 4 files changed, 27 insertions(+), 8 deletions(-)
Acked-by: Lee Jones <[email protected]> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
