commit | d7437fc0d8291181debe032671a289b6bd93f46f | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu Aug 08 21:54:17 2019 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Aug 14 14:49:43 2019 +0200 |
tree | 7eabc9f12af39ab71bee73ab3927e84219b5ef94 | |
parent | 7b814d852af6944657c2961039f404c4490771c0 [diff] |
i2c: emev2: avoid race when unregistering slave client After we disabled interrupts, there might still be an active one running. Sync before clearing the pointer to the slave device. Fixes: c31d0a00021d ("i2c: emev2: add slave support") Reported-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>