]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/mfd/cros_ec.h
mfd: cros_ec: ec_dev->cmd_xfer() returns number of bytes received from EC
authorBill Richardson <wfrichar@chromium.org>
Wed, 18 Jun 2014 18:14:06 +0000 (11:14 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:20 +0000 (14:58 +0100)
commit12ebc8a50bc54e3a6fe207861fc6793181f9c2dc
tree2375f0509badbfb00479cdc58d19a332aa9158b4
parent6db07b6336589ff480528173e41f8f6af3f0097f
mfd: cros_ec: ec_dev->cmd_xfer() returns number of bytes received from EC

When communicating with the EC, the cmd_xfer() function should return the
number of bytes it received from the EC, or negative on error.

Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/i2c/busses/i2c-cros-ec-tunnel.c
drivers/mfd/cros_ec_i2c.c
drivers/mfd/cros_ec_spi.c
include/linux/mfd/cros_ec.h