summaryrefslogtreecommitdiff
path: root/lib/find_last_bit.c
diff options
context:
space:
mode:
authorChris Bainbridge <chris.bainbridge@gmail.com>2015-04-29 21:21:40 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-04-30 23:18:11 +0200
commit3349fb64b2927407017d970dd5c4daf3c5ad69f8 (patch)
tree7f446e4537f411daa245f1b0a16ec628a76442d1 /lib/find_last_bit.c
parent61f8ff693923e4b19748b0e8287b99778f2661c7 (diff)
ACPI / SBS: Add 5 us delay to fix SBS hangs on MacBook
Commit 7bc5a2bad0b8 'ACPI: Support _OSI("Darwin") correctly' caused the MacBook firmware to expose the SBS, resulting in intermittent hangs of several minutes on boot, and failure to detect or report the battery. Fix this by adding a 5 us delay to the start of each SMBUS transaction. This timing is the result of experimentation - hangs were observed with 3 us but never with 5 us. Fixes: 7bc5a2bad0b8 'ACPI: Support _OSI("Darwin") correctly' Link: https://bugzilla.kernel.org/show_bug.cgi?id=94651 Signed-off-by: Chris Bainbridge <chris.bainbridge@gmail.com> Cc: 3.18+ <stable@vger.kernel.org> # 3.18+ [ rjw: Subject and changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/find_last_bit.c')
0 files changed, 0 insertions, 0 deletions