1 diff -Nurp lmpcm_usb-0.5.8.orig/lmpcm_usb.c lmpcm_usb-0.5.8/lmpcm_usb.c
2 --- lmpcm_usb-0.5.8.orig/lmpcm_usb.c 2010-02-21 17:16:59.000000000 +0100
3 +++ lmpcm_usb-0.5.8/lmpcm_usb.c 2011-01-23 15:32:51.000000000 +0100
4 @@ -109,7 +109,7 @@ void lmpcm_free ( lmpcm_t *lmpcm ) {
5 usb_free_urb(lmpcm->urb);
8 - usb_buffer_free(lmpcm->usbdev,8,lmpcm->data,lmpcm->data_dma);
9 + usb_free_coherent(lmpcm->usbdev,8,lmpcm->data,lmpcm->data_dma);
13 @@ -150,7 +150,7 @@ lmpcm_t *lmpcm_new ( struct usb_device *
15 // Create data required for urb transfer
17 - if (!(lmpcm->data = usb_buffer_alloc(dev,8,ATOMIC,&lmpcm->data_dma))) {
18 + if (!(lmpcm->data = usb_alloc_coherent(dev,8,ATOMIC,&lmpcm->data_dma))) {