diff options
author | Hans de Goede <[email protected]> | 2017-02-10 11:27:57 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-03-02 15:46:34 +0100 |
commit | 519e23a7f51e853dbe5dc4abb193c0c0db303b3a (patch) | |
tree | 3e2a2bef7630cfc4fcee7e4d5dc42040b5bfdd5c /lib/debugobjects.c | |
parent | 086cb4afef45262806ee5bf26c34244e5867712c (diff) |
i2c: designware-baytrail: Fix race when resetting the semaphore
Use iosf_mbi_modify instead of iosf_mbi_read + iosf_mbi_write so that
we keep the iosf_mbi_lock locked during the read-modify-write done to
reset the semaphore.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions