Re: [PATCH] [media] vp7045: fix buffer setup

2011-08-24 Thread Tino Keitel
On Fri, Aug 19, 2011 at 18:35:21 +0200, Florian Mickler wrote: > On Wed, 10 Aug 2011 12:05:20 +0200 > Florian Mickler wrote: > > > 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 > >

Re: [PATCH] [media] vp7045: fix buffer setup

2011-08-19 Thread Florian Mickler
On Wed, 10 Aug 2011 12:05:20 +0200 Florian Mickler wrote: > 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

[PATCH] [media] vp7045: fix buffer setup

2011-08-10 Thread Florian Mickler
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 kzallo