[media] rc/nuvoton_cir: fix locking issue with nvt_enable_cir
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 1 Feb 2016 20:49:32 +0000 (18:49 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 2 Feb 2016 16:28:37 +0000 (14:28 -0200)
commit842096fc40519e85bd4c0751e65a07cc3e23bd66
tree903a848861fe73c9a548e977b965c236cc22be75
parent6b3f99989eb73e5250bba9dfeaa852939acfbf70
[media] rc/nuvoton_cir: fix locking issue with nvt_enable_cir

nvt_enable_cir calls nvt_enable_logical_dev (that may sleep)
while holding a spinlock.
This patch fixes this and moves the content of nvt_enable_cir
to nvt_open as this is the only caller.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/nuvoton-cir.c
This page took 0.024521 seconds and 5 git commands to generate.