commit | 5b9c4e6dbb3204568d4c058af6e34772393ada19 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@infradead.org> | Wed Mar 28 22:37:26 2007 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Fri Apr 27 15:45:11 2007 -0300 |
tree | 04043fc593fbd639901a9b7fddb740acf20ab099 | |
parent | c1d570385bd6dd5fe4c0cab09b1c390331111b35 [diff] |
V4L/DVB (5478): Use ARRAY_SIZE and a cleaner logic for initializing tuner 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>