]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit06e3504b1cb87badd96f38ec86c9d3ef0f37184b
tree96efc68b4a7936530deb095619643967dbd5b89f
parentdebb1396ebef6055b005db4674a3a688447302ec
[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