summary refs log tree commit diff
path: root/sound/last.c
diff options
context:
space:
mode:
authorXiangliang Yu <Xiangliang.Yu@amd.com>2015-12-11 20:02:53 +0800
committerWolfram Sang <wsa@the-dreams.de>2015-12-12 18:00:16 +0100
commit2d244c81481fa5142a2ba6656ab7a8e40c849c27 (patch)
treefebadcdd309a628e2f002b31bb8bbc667704d1a0 /sound/last.c
parent5212f9ae519a3e108205f27eb22929266e688e3e (diff)
downloadlinux-2d244c81481fa5142a2ba6656ab7a8e40c849c27.tar.gz
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 <Xiangliang.Yu@amd.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions