[media] fc0011: Add some sanity checks and cleanups
authorMichael Büsch <m@bues.ch>
Thu, 7 Feb 2013 15:19:30 +0000 (12:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 19:51:09 +0000 (17:51 -0200)
commitaadb4640109b76cc9d0e1d8ce6b7bc3258a89170
tree9f09447d880103463d46d5faef0bd40bbfae54bf
parent03a497d4b4c5205f6a365c4673e21298e681a8a6
[media] fc0011: Add some sanity checks and cleanups

Add some sanity checks to the calculations and make the REG_16 register write consistent
with the other ones.

Signed-off-by: Michael Buesch <m@bues.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/fc0011.c