On Thu, Aug 15, 2019 at 04:52:11PM +0300, Jarkko Nikula wrote: > Make sure interrupt handler i2c_dw_irq_handler_slave() has finished > before clearing the the dev->slave pointer in i2c_dw_unreg_slave(). > > There is possibility for a race if i2c_dw_irq_handler_slave() is running > on another CPU while clearing the dev->slave pointer. > > Reported-by: Krzysztof Adamski <krzysztof.adamski@xxxxxxxxx> > Reported-by: Wolfram Sang <wsa@xxxxxxxxxxxxx> > Signed-off-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> Applied to for-current, thanks!
Attachment:
signature.asc
Description: PGP signature