V4L/DVB (5047): Pvrusb2: Fix tuning calculation when in radio mode
authorMike Isely <isely@pobox.com>
Thu, 28 Dec 2006 02:23:22 +0000 (23:23 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:32 +0000 (13:34 -0200)
commitf1382122ab49a7f01fa107608eaf664b12055b8b
tree5862ece089b81c0b100cad6c2106e20763da7cbb
parent5a8a0a16422eec744ec220ccea472eef74b67180
V4L/DVB (5047): Pvrusb2: Fix tuning calculation when in radio mode

Frequency units in V4L2 are apparently different when in radio mode
compared to tv mode.  Why?  Who knows.  This change adapts the driver
appropriately - so that internally we always only deal in Hz and don't
have to muck with craziness like this.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c