aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFlorian Mickler <florian@mickler.org>2011-08-10 07:05:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-11 09:33:41 -0300
commitfc61ccd35fd59d5362d37c8bf9c0526c85086c84 (patch)
treeef4a47ba5424d8b20637c0bdba47f5005835c6d7 /Documentation
parent[media] nuvoton-cir: simplify raw IR sample handling (diff)
downloadlinux-dev-fc61ccd35fd59d5362d37c8bf9c0526c85086c84.tar.xz
linux-dev-fc61ccd35fd59d5362d37c8bf9c0526c85086c84.zip
[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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions