[media] radio-si4713: fix g/s_frequency
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 8 Apr 2013 20:25:05 +0000 (17:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 22:53:17 +0000 (19:53 -0300)
commitb387754d7256b1fa3610ed8a85f9274df49d1178
tree51ea64cac39f5c4e4a419ab32d48c323310f75e0
parent55b2a312c29695520f813e61d668318169895ba7
[media] radio-si4713: fix g/s_frequency

- check for invalid modulators.
- clamp frequency to valid range.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Tested-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/si4713-i2c.c