|
@@ -3576,7 +3576,7 @@ static bool delay_autosuspend(struct r8152 *tp)
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
-static int rtl8152_rumtime_suspend(struct r8152 *tp)
|
|
|
|
|
|
+static int rtl8152_runtime_suspend(struct r8152 *tp)
|
|
{
|
|
{
|
|
struct net_device *netdev = tp->netdev;
|
|
struct net_device *netdev = tp->netdev;
|
|
int ret = 0;
|
|
int ret = 0;
|
|
@@ -3653,7 +3653,7 @@ static int rtl8152_suspend(struct usb_interface *intf, pm_message_t message)
|
|
mutex_lock(&tp->control);
|
|
mutex_lock(&tp->control);
|
|
|
|
|
|
if (PMSG_IS_AUTO(message))
|
|
if (PMSG_IS_AUTO(message))
|
|
- ret = rtl8152_rumtime_suspend(tp);
|
|
|
|
|
|
+ ret = rtl8152_runtime_suspend(tp);
|
|
else
|
|
else
|
|
ret = rtl8152_system_suspend(tp);
|
|
ret = rtl8152_system_suspend(tp);
|
|
|
|
|