Re: [PATCH v4 2/5] net/usb/r815x: avoid to call mdio functions forruntime-suspended device

From: David Miller
Date: Wed Jul 31 2013 - 17:49:57 EST

From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Wed, 31 Jul 2013 17:21:23 +0800

> Don't replace the usb_control_msg() with usbnet_{read,write}_cmd()
> which couldn't be called inside suspend/resume callback. Keep the
> basic functions unlimited. Instead, using usb_autopm_get_interface()
> and usb_autopm_put_interface() in r815x_mdio_{read,write}().
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at