aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorXiangliang Yu <[email protected]>2015-12-11 12:02:53 +0000
committerWolfram Sang <[email protected]>2015-12-12 17:00:16 +0000
commit2d244c81481fa5142a2ba6656ab7a8e40c849c27 (patch)
treefebadcdd309a628e2f002b31bb8bbc667704d1a0 /drivers/fpga/fpga-mgr.c
parenti2c: imx: init bus recovery info before adding i2c adapter (diff)
downloadkernel-2d244c81481fa5142a2ba6656ab7a8e40c849c27.tar.gz
kernel-2d244c81481fa5142a2ba6656ab7a8e40c849c27.zip
i2c: designware: fix IO timeout issue for AMD controller
Because of some hardware limitation, AMD I2C controller can't trigger pending interrupt if interrupt status has been changed after clearing interrupt status bits. Then, I2C will lost interrupt and IO timeout. According to hardware design, this patch implements a workaround to disable i2c controller interrupt and re-enable i2c interrupt before exiting ISR. To reduce the performance impacts on other vendors, use unlikely function to check flag in ISR. Signed-off-by: Xiangliang Yu <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions