summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-uclogic.c
diff options
context:
space:
mode:
authorShreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>2011-06-09 22:56:32 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-09 00:09:23 +0200
commitdef90f4239f094f3846c108c1c41a4cd55c33e8e (patch)
tree4afa3043999cca62d501764456b194db33fea224 /drivers/hid/hid-uclogic.c
parentn_gsm: fix the wrong FCS handling (diff)
downloadlinux-def90f4239f094f3846c108c1c41a4cd55c33e8e.tar.xz
linux-def90f4239f094f3846c108c1c41a4cd55c33e8e.zip
amba pl011: workaround for uart registers lockup
This workaround aims to break the deadlock situation which raises during continuous transfer of data for long duration over uart with hardware flow control. It is observed that CTS interrupt cannot be cleared in uart interrupt register (ICR). Hence further transfer over uart gets blocked. It is seen that during such deadlock condition ICR don't get cleared even on multiple write. This leads pass_counter to decrease and finally reach zero. This can be taken as trigger point to run this UART_BT_WA. Workaround backups the register configuration, does soft reset of UART using BIT-0 of PRCC_K_SOFTRST_SET/CLEAR registers and restores the registers. This patch also provides support for uart init and exit function calls if present. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hid/hid-uclogic.c')
0 files changed, 0 insertions, 0 deletions