Messages in this thread | | | From | Hayes Wang <> | Subject | [PATCH net-next v2 0/3] r8152: use mutex for hw settings | Date | Thu, 9 Oct 2014 18:00:23 +0800 |
| |
v2: Make sure the autoresume wouldn't occur inside the mutex, otherwise the dead lock would happen. For the purpose, adjust some code about autosuspend/autoresume.
v1: Use mutex to avoid that the serial hw settings would be interrupted by other settings. Although there is no problem now, it makes the driver more safe.
Hayes Wang (3): r8152: autoresume before setting feature r8152: adjust usb_autopm_xxx r8152: add mutex for hw settings
drivers/net/usb/r8152.c | 98 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 83 insertions(+), 15 deletions(-)
-- 1.9.3
| |