i2c: xiic: Drop broken interrupt handler
authorMarek Vasut <marex@denx.de>
Mon, 23 Aug 2021 21:41:41 +0000 (23:41 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 14 Sep 2021 10:22:44 +0000 (12:22 +0200)
commit861dcffe1b9e986d254ea0d7e9f0a542bfc5ab11
tree1e3fa9fec384d3e6f77e6ee4491907f83817afb1
parentc119e7d00c916881913011e6f4c6ac349a41e4e2
i2c: xiic: Drop broken interrupt handler

The interrupt handler is missing locking when reading out registers
and is racing with other threads which might access the driver. Drop
it altogether, so that the threaded interrupt is always executed, as
that one is already serialized by the driver mutex. This also allows
dropping local_irq_save()/local_irq_restore() in xiic_start_recv().

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-xiic.c