diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-08-08 21:39:10 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-14 14:49:36 +0200 |
commit | 7b814d852af6944657c2961039f404c4490771c0 (patch) | |
tree | d9c018472072e09d33fc9a0e7de6a46211b4e2da /crypto/842.c | |
parent | 8fc3ae3b109d17157102f0abf9c8fb1e16bf810a (diff) | |
download | linux-7b814d852af6944657c2961039f404c4490771c0.tar.bz2 |
i2c: rcar: 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: de20d1857dd6 ("i2c: rcar: 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>
Diffstat (limited to 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions