diff options
author | hayeswang <hayeswang@realtek.com> | 2013-07-31 13:21:23 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-01 01:49:13 +0400 |
commit | b771721a748875e3654debdf68ad4708477f18c4 (patch) | |
tree | cc6d39e3d537300212509aa53f2fc0049fabdedf /drivers/dca | |
parent | b2f47377e871a5f3cc5bd0dd58d3ea1fbc58948d (diff) | |
download | linux-b771721a748875e3654debdf68ad4708477f18c4.tar.xz |
net/usb/r815x: avoid to call mdio functions for runtime-suspended device
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@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions