-
Heiner Kallweit authored
As explained in [0] currently we may leave SMBHSTSTS_INUSE_STS set, thus potentially breaking ACPI/BIOS usage of the SMBUS device. Seems patch [0] needs a little bit more of review effort, therefore I'd suggest to apply a part of it as quick win. Just clearing SMBHSTSTS_INUSE_STS when leaving i801_access() should fix the referenced issue and leaves more time for discussing a more sophisticated locking handling. [0] https://www.spinics.net/lists/linux-i2c/msg51558.html Fixes: 01590f36 ("i2c: i801: Instantiate SPD EEPROMs automatically") Suggested-by:
Hector Martin <marcan@marcan.st> Signed-off-by:
Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by:
Hector Martin <marcan@marcan.st> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Tested-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@kernel.org>
065b6211