summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-vt8500.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-05-06 12:36:38 +0300
committerWolfram Sang <wsa@kernel.org>2020-05-12 13:37:15 +0300
commite81c979f4e071d516aa27cf5a0c3939da00dc1ca (patch)
tree60cd98b891b6cfcd2a5475ece284f48ce620ea09 /drivers/irqchip/irq-vt8500.c
parent18d30c0946f912cdb86ab0417661eccda6342375 (diff)
downloadlinux-e81c979f4e071d516aa27cf5a0c3939da00dc1ca.tar.xz
i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
If we timeout during a message transfer, the control register may contain bits that cause an action to be set. Read-modify-writing the register leaving these bits set may trigger the hardware to attempt one of these actions unintentionally. Always clear these bits when cleaning up after a message or after a timeout. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/irqchip/irq-vt8500.c')
0 files changed, 0 insertions, 0 deletions