diff options
author | Ellen Wang <[email protected]> | 2016-07-01 22:42:15 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2016-07-01 22:42:15 +0200 |
commit | 97d34ec136a9ff10259ea636a45d3a41beda0e4f (patch) | |
tree | a53a6cf01cdc1c2e7003e51fd4e8111b93f59260 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e0f6431c1ef00e6160c9c36a9ca3b7405518db3d (diff) |
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 <[email protected]>
Tested-by: Jean Delvare <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions