diff options
author | Venkat Reddy Talla <vreddytalla@nvidia.com> | 2014-06-11 10:54:03 +0530 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2014-06-11 17:09:57 -0700 |
commit | dbca4e0d9f5cdd7da5270288bf1e8add4e164e6a (patch) | |
tree | 4508ab545d2b5c987b545d73c217b9ead39161d0 /sound | |
parent | 44a648a412b0733b988a4dad2e14704d1a03190e (diff) |
power: extcon:convert extcon lock to spinlock from mutex
use spinlock instread of mutex to avoid kernel warning "sleeping
function called from invalid context" if CONFIG_DEBUG_ATOMIC_SLEEP
(sleep inside atomic section checking config) enabled and usb cable
plugged/unplugged.
Bug 1522398
Change-Id: I813f959dc5cb3ce666794a8d57152b6f562046a6
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/421988
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions