Skip to content

Commit

Permalink
Merge branches 'smbus' and 'fujitsu-fix' into release-2.6.27
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Sep 4, 2008
3 parents 54cd314 + 266feef + d8196a9 commit 4fd2343
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/acpi/sbshc.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout)
if (wait_event_timeout(hc->wait, smb_check_done(hc),
msecs_to_jiffies(timeout)))
return 0;
/*
* After the timeout happens, OS will try to check the status of SMbus.
* If the status is what OS expected, it will be regarded as the bogus
* timeout.
*/
if (smb_check_done(hc))
return 0;
else
return -ETIME;
}
Expand Down
7 changes: 7 additions & 0 deletions drivers/misc/fujitsu-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,13 @@ static struct dmi_system_id __initdata fujitsu_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK S6410"),
},
.callback = dmi_check_cb_s6410},
{
.ident = "FUJITSU LifeBook P8010",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook P8010"),
},
.callback = dmi_check_cb_s6410},
{}
};

Expand Down

0 comments on commit 4fd2343

Please sign in to comment.