[media] media: rc: nuvoton-cir: improve nvt_hw_detect
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 Dec 2015 16:43:29 +0000 (14:43 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 10:49:09 +0000 (08:49 -0200)
commit3f1321cbaa1f2221be7444b7fab0905a31bdfd9f
tree56ad6dae2ea79603a6b6fe4298ef870e2e71e40a
parent80100fd9ebb9f2414892a1178d26a4253e6c0bcf
[media] media: rc: nuvoton-cir: improve nvt_hw_detect

Check for the case that no Nuvoton chip is found on either EFM port.
Also move the position of nvt_efm_disable to reduce the time the
EFM ports are locked.

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