V4L/DVB (5478): Use ARRAY_SIZE and a cleaner logic for initializing tuner
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 29 Mar 2007 01:37:26 +0000 (22:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:11 +0000 (15:45 -0300)
ATI HDTV Wonder needs to initialize some registers before allowing the
tuner to start working.
The current logic have lots of magic. This patch makes the code cleaner,
using ARRAY_SIZE() for the initialization array and using a
bidimensional array, instead of doing some stuff like:
&buffer[i+2]

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found