summaryrefslogtreecommitdiff
path: root/drivers/hwmon/twl4030-madc-hwmon.c
diff options
context:
space:
mode:
authorNaveen Kaje <nkaje@codeaurora.org>2016-10-11 19:27:57 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-11-30 00:43:38 +0300
commitcc9086e772b54a2399408af0bfb00bccb50a968b (patch)
tree40084b4cc5129430b779019adf3186d47e846a10 /drivers/hwmon/twl4030-madc-hwmon.c
parent515da746983bc6382e380ba8b1ce9345a9550ffe (diff)
downloadlinux-cc9086e772b54a2399408af0bfb00bccb50a968b.tar.xz
i2c: qup: support SMBus block read
I2C QUP driver relies on SMBus emulation support from the framework. To handle SMBus block reads, the driver should check I2C_M_RECV_LEN flag and should read the first byte received as the message length. The driver configures the QUP hardware to read one byte. Once the message length is known from this byte, the QUP hardware is configured to read the rest. Signed-off-by: Naveen Kaje <nkaje@codeaurora.org> Signed-off-by: Austin Christ <austinwc@codeaurora.org> Reviewed-by: Sricharan R <sricharan@codeaurora.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/hwmon/twl4030-madc-hwmon.c')
0 files changed, 0 insertions, 0 deletions