]> git.baikalelectronics.ru Git - kernel.git/commit
[media] radio-tea5764: some cleanups and clamp frequency when out-of-range
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 31 May 2013 09:19:04 +0000 (06:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:29:56 +0000 (09:29 -0300)
commit0c2a2f4f2e152152a40e45923a2f4b1cb53c539f
treec8e45a04ac30d6fc6c01068896737a7a69f54c1a
parent1ec2f19761f21620b2303bed4098ef75d5554e69
[media] radio-tea5764: some cleanups and clamp frequency when out-of-range

Some small cleanups and when setting the frequency it is now clamped
to the valid frequency range instead of returning an error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Fabio Belavenuto <belavenuto@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-tea5764.c