1
linux/drivers/staging/tm6000
Jarod Wilson cc73b4b57c [media] tm6000: fix vbuf may be used uninitialized
In commit 8aff8ba951, most of the manipulations to vbuf inside
copy_streams were gated on if !dev->radio, but one place that touches
vbuf lays outside those gates -- a memcpy of vbuf isn't NULL. If we
initialize vbuf to NULL, that memcpy will never happen in the case where
we do have dev->radio, and otherwise, in the !dev->radio case, the code
behaves exactly like it did prior to 8aff8ba951.

While we're at it, also fix an incorrectly indented closing brace for
one of the sections touching vbuf that is conditional on !dev->radio.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-05-20 09:27:42 -03:00
..
Kconfig [media] rc: rename the remaining things to rc_core 2010-12-29 08:16:50 -02:00
Makefile
README
tm6000-alsa.c [media] tm6000: add radio support to the driver 2011-03-21 20:32:20 -03:00
tm6000-cards.c [media] tm6000: fix s-video input 2011-03-22 17:20:14 -03:00
tm6000-core.c [media] tm6000: add radio support to the driver 2011-03-21 20:32:20 -03:00
tm6000-dvb.c [media] tm6000: fix comments coding style issue in group of files 2010-10-21 14:01:22 -02:00
tm6000-i2c.c [media] TM6000: Drop unused macro 2010-12-29 08:16:45 -02:00
tm6000-input.c Staging: tm6000: check usb_alloc_urb() return 2011-01-21 12:14:47 -08:00
tm6000-regs.h [media] tm6000: add/rework reg.defines 2011-03-21 20:31:53 -03:00
tm6000-stds.c [media] tm6000: fix s-video input 2011-03-22 17:20:14 -03:00
tm6000-usb-isoc.h [media] tm6000: fix comments coding style issue in group of files 2010-10-21 14:01:22 -02:00
tm6000-video.c [media] tm6000: fix vbuf may be used uninitialized 2011-05-20 09:27:42 -03:00
tm6000.h [media] tm6000: fix s-video input 2011-03-22 17:20:14 -03:00
TODO [media] tm6000: rework and fix IR 2010-12-29 08:17:15 -02:00

Todo:
	- Fix the loss of some blocks when receiving the video URB's
	- Add a lock at tm6000_read_write_usb() to prevent two simultaneous access to the
	  URB control transfers
	- Properly add the locks at tm6000-video
	- Add audio support
	- Add vbi support
	- Add IR support
	- Do several cleanups
	- I think that frame1/frame0 are inverted. This causes a funny effect at the image.
	  the fix is trivial, but require some tests
	- My tm6010 devices sometimes insist on stop working. I need to turn them off, removing
	  from my machine and wait for a while for it to work again. I'm starting to think that
	  it is an overheat issue - is there a workaround that we could do?
	- Sometimes, tm6010 doesn't read eeprom at the proper time (hardware bug). So, the device
	  got miss-detected as a "generic" tm6000. This can be really bad if the tuner is the
	  Low Power one, as it may result on loading the high power firmware, that could damage
	  the device. Maybe we may read eeprom to double check, when the device is marked as "generic"
	- Coding Style fixes
	- sparse cleanups

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