Merge branch 'r8152'
authorDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2014 23:06:15 +0000 (19:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2014 23:06:15 +0000 (19:06 -0400)
commit6a974038a89901f21c15189db2659e545576ed5d
tree2a88d71a1b631866e3329b1fc8e1c89531881ec2
parentde3f0d0effecc2ccfbd679705519ed5b35f9cb33
parentb54032736dbba2ae18995b930d0176bd8b0386c8
Merge branch 'r8152'

Hayes Wang says:

====================
r8152: use mutex for hw settings

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>