diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-06-06 15:55:55 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-06-20 22:58:58 +0200 |
commit | 065b6211a87746e196b56759a70c7851418dd741 (patch) | |
tree | f02f40e128b5dafd8df9b6a885e84bc9ad31009b /README | |
parent | 009c9aa5be652675a06d5211e1640e02bbb1c33d (diff) |
i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access
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: 01590f361e94 ("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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions