Skip to content
Commit bbb27fc3 authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Wolfram Sang
Browse files

i2c: piix4: Request the SMBUS semaphore inside the mutex

SMBSLVCNT must be protected with the piix4_mutex_sb800 in order to avoid
multiple buses accessing to the semaphore at the same time.

Fixes: 701dc207

 ("i2c: piix4: Avoid race conditions with IMC")
Reported-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent f43128c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment