commit | bbb27fc33d44e7b8d96369810654df4ee1837566 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda <ricardo.ribalda@gmail.com> | Thu Feb 02 20:15:16 2017 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Feb 09 17:13:01 2017 +0100 |
tree | b769e165ad52c0021054f1a048b62bd7e4fbec47 | |
parent | f43128c75202f29ee71aa83e6c320a911137c189 [diff] |
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: 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC") Reported-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>