summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-11-17 16:56:01 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-17 22:24:47 +0100
commit2f15744c1d90ee2e82f8ae5724b44b1cdf31715c (patch)
tree4ac4be9a92e45b428bfbf4aaf39937c6f9a62bb5 /drivers/net/wimax
parentusb: gadget: g_fs: Fix compilation warning (diff)
downloadlinux-2f15744c1d90ee2e82f8ae5724b44b1cdf31715c.tar.xz
linux-2f15744c1d90ee2e82f8ae5724b44b1cdf31715c.zip
USB: fix leftover references to udev->autosuspend_delay
This patch (as1436) takes care of leftover references to udev->autosuspend_delay that didn't get removed during the earlier conversion to the runtime-PM autosuspend API. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c
index d3365ac85dde..7cb375515e1e 100644
--- a/drivers/net/wimax/i2400m/usb.c
+++ b/drivers/net/wimax/i2400m/usb.c
@@ -514,7 +514,7 @@ int i2400mu_probe(struct usb_interface *iface,
#ifdef CONFIG_PM
iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
device_init_wakeup(dev, 1);
- usb_dev->autosuspend_delay = 15 * HZ;
+ pm_runtime_set_autosuspend_delay(&usb_dev->dev, 15000);
usb_enable_autosuspend(usb_dev);
#endif