linux/drivers/media/dvb
Florian Mickler fc61ccd35f [media] vp7045: fix buffer setup
dvb_usb_device_init calls the frontend_attach method of this driver which
uses vp7045_usb_ob. In order to have a buffer ready in vp7045_usb_op, it has to
be allocated before that happens.

Luckily we can use the whole private data as the buffer as it gets separately
allocated on the heap via kzalloc in dvb_usb_device_init and is thus apt for
use via usb_control_msg.

This fixes a
	BUG: unable to handle kernel paging request at 0000000000001e78

reported by Tino Keitel and diagnosed by Dan Carpenter.

Cc: stable@kernel.org # For v3.0 and upper
Tested-by: Tino Keitel <tino.keitel@tikei.de>
Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-09-11 09:33:41 -03:00
..
b2c2 net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
bt8xx [media] dvb-bt8xx: Don't return -EFAULT when a device is not found 2011-07-27 17:53:37 -03:00
ddbridge [media] drxk: Move I2C address into a config structure 2011-07-27 17:55:48 -03:00
dm1105 net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
dvb-core Revert "[media] DVB: dvb_frontend: off by one in dtv_property_dump()" 2011-07-27 17:56:02 -03:00
dvb-usb [media] vp7045: fix buffer setup 2011-09-11 09:33:41 -03:00
firewire [media] firedtv: change some -EFAULT returns to more fitting error codes 2011-07-27 17:53:38 -03:00
frontends [media] tda18271c2dd: Fix saw filter configuration for DVB-C @6MHz 2011-07-28 17:09:46 -03:00
mantis net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
ngene [media] drxk: Move I2C address into a config structure 2011-07-27 17:55:48 -03:00
pluto2 net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
pt1 [media] Fix panic on loading earth-pt1 2011-05-20 09:29:33 -03:00
siano [media] siano: bad parameter is -EINVAL and not -EFAULT 2011-07-27 17:53:36 -03:00
ttpci
ttusb-budget
ttusb-dec
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00