diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-08-14 22:17:25 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-17 21:53:02 +0200 |
commit | 8de60c636e353806d43be6313987f36b03cdbf86 (patch) | |
tree | 8a707165ba2b0bb083b28189b9766954edf241c1 /drivers/i2c/i2c-core-smbus.c | |
parent | i2c-cht-wc: Add locking to interrupt / smbus_xfer functions (diff) | |
download | linux-8de60c636e353806d43be6313987f36b03cdbf86.tar.xz linux-8de60c636e353806d43be6313987f36b03cdbf86.zip |
i2c-cht-wc: Ack read irqs after reading the data register
Testing has shown that writing 1 to clear the read-complete irq does
not work until the data register has been read first.
This commit fixes the driver to read the data register first, halving the
amount of interrupts in most cases since we mostly read on this i2c bus.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core-smbus.c')
0 files changed, 0 insertions, 0 deletions