2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00

Input: bcm5974 - retract efi-broken suspend_resume

With the recent system-wide improvements on suspend/resume and EFI
booting the suspend_resume method of the bcm5974 has broken. When
waking up from the S3 state on the MacBookAir, the trackpad is found
in a yet unknown state, unable to switch to the proper multitouch
mode. The result is a frozen touchpad, and a flood of errors of the
kind

	bcm5974: bad trackpad package, length: 8.

This patch retracts the reset_resume method altogether, falling back
on the generic unbind/rebind functionality of the usb layer until
further investigations can be made as how to reset the device when
booting from efi.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Henrik Rydberg 2010-03-20 00:06:40 -07:00 committed by Dmitry Torokhov
parent 88fcf710c1
commit d90e6f6aad

View File

@ -803,7 +803,6 @@ static struct usb_driver bcm5974_driver = {
.disconnect = bcm5974_disconnect, .disconnect = bcm5974_disconnect,
.suspend = bcm5974_suspend, .suspend = bcm5974_suspend,
.resume = bcm5974_resume, .resume = bcm5974_resume,
.reset_resume = bcm5974_resume,
.id_table = bcm5974_table, .id_table = bcm5974_table,
.supports_autosuspend = 1, .supports_autosuspend = 1,
}; };