2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00

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:
Oliver Neukum 2009-08-19 13:50:45 -06:00 committed by Inaky Perez-Gonzalez
parent eb2ff967a5
commit 663ebb4aa2

View File

@ -415,7 +415,6 @@ int i2400mu_probe(struct usb_interface *iface,
#ifdef CONFIG_PM #ifdef CONFIG_PM
iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
device_init_wakeup(dev, 1); device_init_wakeup(dev, 1);
usb_autopm_enable(i2400mu->usb_iface);
usb_dev->autosuspend_delay = 15 * HZ; usb_dev->autosuspend_delay = 15 * HZ;
usb_dev->autosuspend_disabled = 0; usb_dev->autosuspend_disabled = 0;
#endif #endif