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