]> asedeno.scripts.mit.edu Git - linux.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)
commitc912a25a5a12a497bb47068e3d42d7c9b67bde12
treea28b67e0d009e0e1b11c2bfadb8d452e6b47053f
parentf91fba627caa20189185248b771625cf5994813e
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