summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorEllen Wang <ellen@cumulusnetworks.com>2016-07-01 22:42:15 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-07-01 22:42:15 +0200
commit97d34ec136a9ff10259ea636a45d3a41beda0e4f (patch)
treea53a6cf01cdc1c2e7003e51fd4e8111b93f59260 /drivers/ide
parenti2c: pca-isa: Utilize the module_isa_driver macro (diff)
downloadlinux-97d34ec136a9ff10259ea636a45d3a41beda0e4f.tar.xz
linux-97d34ec136a9ff10259ea636a45d3a41beda0e4f.zip
i2c: i801: recover from hardware PEC errors
On a CRC error while using hardware-supported PEC, an additional error bit is set in the auxiliary status register. If this bit isn't cleared, all subsequent operations will fail, essentially hanging the controller. The fix is simple: check, report, and clear the bit in i801_check_post(). Also, in case the driver starts with the hardware in that state, clear it in i801_check_pre() as well. Signed-off-by: Ellen Wang <ellen@cumulusnetworks.com> Tested-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions