mirror of https://gitee.com/openkylin/linux.git
wimax/i2400m/usb: remove unnecessary power management primitive in i2400m
This patch removes an unneeded power management primitive. Power management is automatically enabled as probe ends. Signed-off-by: Oliver Neukum <oliver@neukum.org> Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
This commit is contained in:
parent
eb2ff967a5
commit
663ebb4aa2
|
@ -415,7 +415,6 @@ int i2400mu_probe(struct usb_interface *iface,
|
|||
#ifdef CONFIG_PM
|
||||
iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
|
||||
device_init_wakeup(dev, 1);
|
||||
usb_autopm_enable(i2400mu->usb_iface);
|
||||
usb_dev->autosuspend_delay = 15 * HZ;
|
||||
usb_dev->autosuspend_disabled = 0;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue