diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2015-12-30 19:43:29 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-01 13:49:09 +0300 |
commit | 3f1321cbaa1f2221be7444b7fab0905a31bdfd9f (patch) | |
tree | 56ad6dae2ea79603a6b6fe4298ef870e2e71e40a /drivers/media/rc/nuvoton-cir.h | |
parent | 80100fd9ebb9f2414892a1178d26a4253e6c0bcf (diff) | |
download | linux-3f1321cbaa1f2221be7444b7fab0905a31bdfd9f.tar.xz |
[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>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.h')
-rw-r--r-- | drivers/media/rc/nuvoton-cir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/rc/nuvoton-cir.h b/drivers/media/rc/nuvoton-cir.h index 6a3de08a17c0..48c09c7a101c 100644 --- a/drivers/media/rc/nuvoton-cir.h +++ b/drivers/media/rc/nuvoton-cir.h @@ -68,7 +68,8 @@ enum nvt_chip_ver { NVT_W83667HG = 0xa510, NVT_6775F = 0xb470, NVT_6776F = 0xc330, - NVT_6779D = 0xc560 + NVT_6779D = 0xc560, + NVT_INVALID = 0xffff, }; struct nvt_chip { |