linux/drivers/staging/tm6000
Mauro Carvalho Chehab 9afec493e2 V4L/DVB: tm6000: Replace all magic values by a register alias
Instead of using magic pairs of req/reg, replace them by the defined
values.

This patch were generated by the following script:

cat tm6000-regs.h |perl -ne 'if (m/(TM6010_REQ[^\s]+)\s+0x([a-f0-9]+)\,
0x([a-f0-9]+)/) { $name="$1"; $req=$2; $val=$3; printf
"s/REQ_${req}_SET_GET_AVREG[_BIT]*, 0x[0]*$3,/$1,/\n" }'  >a; for i in
tm*.c; do sed -f a $i >b && mv b $i; done

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-18 00:47:09 -03:00
..
Kconfig V4L/DVB: tm6000: fix build errors 2010-05-18 00:43:57 -03:00
Makefile V4L/DVB: tm6000: remove hack.c hack.h, switch to zl10353 module 2010-05-18 00:44:05 -03:00
README V4L/DVB (12848): tm6000: Add README with todo list 2010-05-18 00:40:23 -03:00
tm6000-alsa.c V4L/DVB: tm6000: Replace all magic values by a register alias 2010-05-18 00:47:09 -03:00
tm6000-cards.c V4L/DVB: tm6000: add new hybrid-stick 2010-05-18 00:47:02 -03:00
tm6000-core.c V4L/DVB: tm6000: Replace all magic values by a register alias 2010-05-18 00:47:09 -03:00
tm6000-dvb.c V4L/DVB: tm6000: fix some info messages 2010-05-18 00:44:07 -03:00
tm6000-i2c.c V4L/DVB: tm6000: bugfix reading problems with demodulator zl10353 2010-05-18 00:44:08 -03:00
tm6000-regs.h V4L/DVB: tm6000: Add request at Req07/Req08 register definitions 2010-05-18 00:47:09 -03:00
tm6000-stds.c V4L/DVB: tm6000: Replace all magic values by a register alias 2010-05-18 00:47:09 -03:00
tm6000-usb-isoc.h V4L/DVB: tm6000: fix some info messages 2010-05-18 00:44:07 -03:00
tm6000-video.c V4L/DVB: tm6000: Replace all magic values by a register alias 2010-05-18 00:47:09 -03:00
tm6000.h V4L/DVB: tm6000: fix some info messages 2010-05-18 00:44:07 -03:00

Todo:
	- checkpatch.pl cleanups
	- sparse cleanups
	- convert to new i2c approach
	- better support DVB
	- fix reading from i2c, if possible
	- fix loosing frames
	- fix oops?

Please send patches to linux-media@vger.kernel.org