[media] r820t: fix size and init values
authorBenjamin Larsson <benjamin@southpole.se>
Mon, 17 Mar 2014 01:41:13 +0000 (22:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Apr 2014 12:39:13 +0000 (09:39 -0300)
commit534c92143222ed4150d3d5e241388541baeb080b
tree0d23e95082c80bb97119535a36f5431ec40d53aa
parent99b0f3c96cebf3af9a645d9b00db14cb04fcdfa2
[media] r820t: fix size and init values

Correct the initialization values at the start of the function
and use proper variable sizes to prevent overflow.

Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/r820t.c