diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-03-28 22:37:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-03-28 22:37:26 -0300 |
commit | 796a8651acd1759db5223b03bdbfe43f94d7c11e (patch) | |
tree | 9b3e1ab68d9b3ee312b53b59d32a02eef07ac462 /linux/drivers/media/video/bt8xx/bt832.c | |
parent | e60856749d426d17f349991659c4fbffbba5d833 (diff) | |
download | mediapointer-dvb-s2-796a8651acd1759db5223b03bdbfe43f94d7c11e.tar.gz mediapointer-dvb-s2-796a8651acd1759db5223b03bdbfe43f94d7c11e.tar.bz2 |
Use ARRAY_SIZE and a cleaner logic for initializing tuner
From: Mauro Carvalho Chehab <mchehab@infradead.org>
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][0]
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bt832.c')
0 files changed, 0 insertions, 0 deletions