diff mbox

input: bcm5974 turn wellspring mode off if failed to start traffic

Message ID 1275421559-7980-1-git-send-email-sunmoon1997@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Luo Jinghua June 1, 2010, 7:45 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
index 6dedded..5518089 100644
--- a/drivers/input/mouse/bcm5974.c
+++ b/drivers/input/mouse/bcm5974.c
@@ -595,6 +595,7 @@  static int bcm5974_start_traffic(struct bcm5974 *dev)
 
 err_kill_bt:
 	usb_kill_urb(dev->bt_urb);
+	bcm5974_wellspring_mode(dev, false);
 error:
 	return -EIO;
 }