Ticket #3058: dvb-usb-dma-workaround.patch

File dvb-usb-dma-workaround.patch, 528 bytes (added by anonymous, 9 years ago)

Workaround for 2.6.28 BCM47..

  • linux-2.6.28/drivers/media/dvb/dvb-usb/usb-urb.c

    static int usb_bulk_urb_init(struct usb_ 
    156156                                stream->props.u.bulk.buffersize, 
    157157                                usb_urb_complete, stream); 
    158158 
    159                 stream->urb_list[i]->transfer_flags = 0; 
     159                stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; 
     160                stream->urb_list[i]->transfer_dma = stream->dma_addr[i]; 
    160161                stream->urbs_initialized++; 
    161162        } 
    162163        return 0;