]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i801: remove SMBNTFDDAT reads as they always seem to return 0
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 13 Oct 2016 12:10:39 +0000 (14:10 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 24 Nov 2016 15:22:05 +0000 (16:22 +0100)
commit8734fca815508557f307428b7b3e8d3337fccbe5
treea28b67e0d009e0e1b11c2bfadb8d452e6b47053f
parent2693fbef0e2d725a8546fff18d4ef2577cf52e09
i2c: i801: remove SMBNTFDDAT reads as they always seem to return 0

On the platform tested, reading SMBNTFDDAT always returns 0 (using 1 read
of a word or 2 of 2 bytes). Given that we are not sure why and that we
don't need to rely on the data parameter in the current users of Host
Notify, remove this part of the code.

If someone wants to re-enable it, just revert this commit and data should
be available.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c