]> 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)
commit7b85b1ca433545e96908a3bb7a665543a40056b9
tree37a83111ad337f2a45de666941fda365a21b6cfa
parent7da1f2558b72353f4a26d78707b272213de86926
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