]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: aspeed: Mask IRQ status to relevant bits
authorEddie James <eajames@linux.ibm.com>
Wed, 9 Sep 2020 20:30:57 +0000 (15:30 -0500)
committerWolfram Sang <wsa@kernel.org>
Mon, 14 Sep 2020 06:55:44 +0000 (08:55 +0200)
commit6c9936a7ea23405aa8e84cc6c3c3ecdd0fc073dd
tree37a83111ad337f2a45de666941fda365a21b6cfa
parent490b1f9d3b599ea255de59eeb320d58c1220e31c
i2c: aspeed: Mask IRQ status to relevant bits

Mask the IRQ status to only the bits that the driver checks. This
prevents excessive driver warnings when operating in slave mode
when additional bits are set that the driver doesn't handle.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-aspeed.c