diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2019-07-22 20:55:27 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-01 22:24:16 +0200 |
commit | d12e3aae160fb26b534c4496b211d6e60a5179ed (patch) | |
tree | 894ef1f43b93686b8c9f7fdc9a789ba660b305d1 /kernel/dma/dummy.c | |
parent | fd01eecdf9591453177d7b06faaabef8c300114a (diff) |
i2c: at91: disable TXRDY interrupt after sending data
Driver was not disabling TXRDY interrupt after last TX byte.
This caused interrupt storm until transfer timeouts for slow
or broken device on the bus. The patch fixes the interrupt storm
on my SAMA5D2-based board.
Cc: stable@vger.kernel.org # 5.2.x
[v5.2 introduced file split; the patch should apply to i2c-at91.c before the split]
Fixes: fac368a04048 ("i2c: at91: add new driver")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Tested-by: Raag Jadav <raagjadav@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'kernel/dma/dummy.c')
0 files changed, 0 insertions, 0 deletions