mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-17 10:59:31 +00:00
to check the "command completed" flag before checking for error flags in the status register. This will insure that when both conditions exist (command not completed && error conditions present), a "kill" command will be executed on the SMBus controller to clean up the bus. Also, added a status register write after "kill" and "timeout" commands to insure that the status gets cleaned up after a bad transaction. This change fixes observed behavior in which a "command never completed" transaction was always followed by an "idle wait timeout" on the next subsequent trans- action. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@919 7894878c-1315-0410-8ee3-d5d059ff63e0