ACPI: Avoid bogus timeout about SMbus check
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 26 Aug 2008 05:57:34 +0000 (13:57 +0800)
committerAndi Kleen <ak@linux.intel.com>
Thu, 4 Sep 2008 12:32:28 +0000 (14:32 +0200)
commit266feefeb9ea2d846ac82eb6db1a54b230364ba4
tree300ccf4c33715e7a792c086262f717b0555f98c3
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5
ACPI: Avoid bogus timeout about SMbus check

In the function of wait_transaction_complete when the timeout happens,
OS will try to check the status of SMbus again. If the status is what OS
expected, it will be regarded as the bogus timeout. Otherwise it will be
treated as ETIME.

http://bugzilla.kernel.org/show_bug.cgi?id=10483

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
tested-by    : Oldřich Jedlička < <oldium.pro@seznam.cz>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/sbshc.c