aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-06-06 13:55:55 +0000
committerWolfram Sang <[email protected]>2021-06-20 20:58:58 +0000
commit065b6211a87746e196b56759a70c7851418dd741 (patch)
treef02f40e128b5dafd8df9b6a885e84bc9ad31009b /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentLinux 5.13-rc6 (diff)
downloadkernel-065b6211a87746e196b56759a70c7851418dd741.tar.gz
kernel-065b6211a87746e196b56759a70c7851418dd741.zip
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 <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Hector Martin <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Tested-by: Jean Delvare <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions