[media] rc/nuvoton_cir: fix locking issue when calling nvt_enable_wake
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 1 Feb 2016 20:50:26 +0000 (18:50 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 2 Feb 2016 16:28:54 +0000 (14:28 -0200)
commitb883af30bcd1f37ed39948be529a13f5ac4ec6a2
tree96efc68b4a7936530deb095619643967dbd5b89f
parent842096fc40519e85bd4c0751e65a07cc3e23bd66
[media] rc/nuvoton_cir: fix locking issue when calling nvt_enable_wake

nvt_enable_wake calls nvt_select_logical_dev (that may sleep) and is called
from contexts holding a spinlock. Fix this.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/nuvoton-cir.c