[media] saa7164: fix input and tuner compliance problems
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Aug 2015 11:48:32 +0000 (08:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 1 Oct 2015 11:25:53 +0000 (08:25 -0300)
commit6b99612606b794e59c5089aa61168adabe983969
tree331423f17f1a07d2cb797012d7fa5add81705c00
parent4e203f7fddecd4c4fc9af2f25bae1d79b28405a8
[media] saa7164: fix input and tuner compliance problems

- the frequency range was never set
- there was no initial frequency
- missing index/tuner checks
- inconsistent standard reporting
- removed unnecessary tuner type checks (the core handles that)
- clamp frequency to the valid frequency range as per the V4L2 spec

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/saa7164/saa7164-encoder.c
drivers/media/pci/saa7164/saa7164.h