[media] radio-miropcm20: Fix audmode/tuner/frequency handling
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 30 Jan 2013 08:55:50 +0000 (05:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 20:15:33 +0000 (18:15 -0200)
commitf5e7cc4af36c631edf7dc73111d80af975f526a6
treefe5c049cb5865dfd4f68970253056edb159708c9
parentf7c096f73561ba9754d4b13a6dc38e964194d784
[media] radio-miropcm20: Fix audmode/tuner/frequency handling

- instead of a mute module option, use audmode as per the spec.
- clamp the frequency before setting it.

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