r8152: add mutex for hw settings
authorhayeswang <hayeswang@realtek.com>
Thu, 9 Oct 2014 10:00:26 +0000 (18:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2014 23:06:08 +0000 (19:06 -0400)
commitb54032736dbba2ae18995b930d0176bd8b0386c8
tree2a88d71a1b631866e3329b1fc8e1c89531881ec2
parent8d4a4d7286eb6fc783149de44aa90de4bc72a9fe
r8152: add mutex for hw settings

Use the mutex to avoid the settings are interrupted by other ones.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c