[media] cx231xx: fix frequency clamping
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 9 Feb 2013 09:40:33 +0000 (06:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:25:58 +0000 (14:25 -0300)
commit0752d98e1a5619553d46a67590cdd94ee5827ff3
tree1a953ec8c0fe05d80933b6be6b63db606e32e9b6
parent8b735c130717cb0af7793e30bbb6e91709ef10f8
[media] cx231xx: fix frequency clamping

Let the tuner clamp the frequency and store that clamped value.
This fixes a v4l2_compliance failure.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/cx231xx/cx231xx-video.c