]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: exynos5: disable fifo-almost-empty irq signal when necessary
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 22 Feb 2017 10:11:20 +0000 (11:11 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 23 Feb 2017 11:59:48 +0000 (12:59 +0100)
commitd7432582eca0855f8e4115e55cec6fdeedc2f33d
tree0b88f808a983e8670ab1f6cbba3d22bba1a057e2
parentb5e8bdd8c460f9888aad0e51dab2432654fe70f1
i2c: exynos5: disable fifo-almost-empty irq signal when necessary

Fifo-almost-empty irq signal should be disabled as soon as possible,
to avoid unnecessary interrupt storm. The best moment is when there is
no more data to feed fifo.
This patch fixes system stalls caused by IRQ storm.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c