diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-08-08 22:39:10 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-14 15:49:36 +0300 |
commit | 7b814d852af6944657c2961039f404c4490771c0 (patch) | |
tree | d9c018472072e09d33fc9a0e7de6a46211b4e2da /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8fc3ae3b109d17157102f0abf9c8fb1e16bf810a (diff) | |
download | linux-7b814d852af6944657c2961039f404c4490771c0.tar.xz |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions