Re: [PATCH v4 15/31] i2c: tegra: Remove bogus barrier()

2020-09-05 Thread Dmitry Osipenko
05.09.2020 23:41, Dmitry Osipenko пишет: > Apparently barrier() was intended to reduce possibility of racing > with the interrupt handler, but driver's code evolved significantly > and today's driver enables interrupt only when it waits for completion > notification. Hence barrier() has no good

[PATCH v4 15/31] i2c: tegra: Remove bogus barrier()

2020-09-05 Thread Dmitry Osipenko
Apparently barrier() was intended to reduce possibility of racing with the interrupt handler, but driver's code evolved significantly and today's driver enables interrupt only when it waits for completion notification. Hence barrier() has no good use anymore, let's remove it. Signed-off-by: