| commit | 8de60c636e353806d43be6313987f36b03cdbf86 | [log] [tgz] |
|---|---|---|
| author | Hans de Goede <hdegoede@redhat.com> | Mon Aug 14 22:17:25 2017 +0200 |
| committer | Wolfram Sang <wsa@the-dreams.de> | Thu Aug 17 21:53:02 2017 +0200 |
| tree | 8a707165ba2b0bb083b28189b9766954edf241c1 | |
| parent | a5a46bd008b5a87f726859c90ab25a69e6cf9473 [diff] |
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>