]> 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)
commit2d76654ebaf14b6eaeb1a91888577e48197fefbc
treec8e45a04ac30d6fc6c01068896737a7a69f54c1a
parent0aa4740f94fddb4f0b7df3e7570f07c3ab5ca8fb
[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