usb: misc: ks_bridge: Don't enable runtime suspend by default
Not all devices support selective suspend and fail to respond in dload mode when suspended. Hence don't enable it by default from driver. User can later enable it using sysfs if needed. Change-Id: Ifff5891d772011f812e8ae3356bf847dced78bfb CRs-fixed: 2009286 Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
This commit is contained in:
parent
d3993210d4
commit
7639227b17
1 changed files with 1 additions and 3 deletions
|
@ -838,10 +838,8 @@ ksb_usb_probe(struct usb_interface *ifc, const struct usb_device_id *id)
|
|||
goto fail_device_create;
|
||||
}
|
||||
|
||||
if (device_can_wakeup(&ksb->udev->dev)) {
|
||||
if (device_can_wakeup(&ksb->udev->dev))
|
||||
ifc->needs_remote_wakeup = 1;
|
||||
usb_enable_autosuspend(ksb->udev);
|
||||
}
|
||||
|
||||
if (free_mdev)
|
||||
kfree(mdev);
|
||||
|
|
Loading…
Add table
Reference in a new issue