diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-11-17 10:56:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-17 13:24:47 -0800 |
commit | 2f15744c1d90ee2e82f8ae5724b44b1cdf31715c (patch) | |
tree | 4ac4be9a92e45b428bfbf4aaf39937c6f9a62bb5 /drivers/net/wimax | |
parent | aa02f172ac85f144d0baa248e27e34e165963f94 (diff) | |
download | blackbird-op-linux-2f15744c1d90ee2e82f8ae5724b44b1cdf31715c.tar.gz blackbird-op-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.c | 2 |
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 |