diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:26:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:26:12 -0400 |
commit | 7a9b149212f3716c598afe973b6261fd58453b7a (patch) | |
tree | 477716d84c71da124448b72278e98da28aadbd3d /drivers/media/video/cx231xx | |
parent | 3d62e3fdce8ef265a3706c52ae1ca6ab84e30f0e (diff) | |
parent | e26bcf37234c67624f62d9fc95f922b8dbda1363 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (229 commits)
USB: remove unused usb_buffer_alloc and usb_buffer_free macros
usb: musb: update gfp/slab.h includes
USB: ftdi_sio: fix legacy SIO-device header
USB: kl5usb105: reimplement using generic framework
USB: kl5usb105: minor clean ups
USB: kl5usb105: fix memory leak
USB: io_ti: use kfifo to implement write buffering
USB: io_ti: remove unsused private counter
USB: ti_usb: use kfifo to implement write buffering
USB: ir-usb: fix incorrect write-buffer length
USB: aircable: fix incorrect write-buffer length
USB: safe_serial: straighten out read processing
USB: safe_serial: reimplement read using generic framework
USB: safe_serial: reimplement write using generic framework
usb-storage: always print quirks
USB: usb-storage: trivial debug improvements
USB: oti6858: use port write fifo
USB: oti6858: use kfifo to implement write buffering
USB: cypress_m8: use kfifo to implement write buffering
USB: cypress_m8: remove unused drain define
...
Fix up conflicts (due to usb_buffer_alloc/free renaming) in
drivers/input/tablet/acecad.c
drivers/input/tablet/kbtab.c
drivers/input/tablet/wacom_sys.c
drivers/media/video/gspca/gspca.c
sound/usb/usbaudio.c
Diffstat (limited to 'drivers/media/video/cx231xx')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-core.c b/drivers/media/video/cx231xx/cx231xx-core.c index f5e1a2315fcc..912a4d740206 100644 --- a/drivers/media/video/cx231xx/cx231xx-core.c +++ b/drivers/media/video/cx231xx/cx231xx-core.c | |||
@@ -676,11 +676,11 @@ void cx231xx_uninit_isoc(struct cx231xx *dev) | |||
676 | usb_unlink_urb(urb); | 676 | usb_unlink_urb(urb); |
677 | 677 | ||
678 | if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { | 678 | if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { |
679 | usb_buffer_free(dev->udev, | 679 | usb_free_coherent(dev->udev, |
680 | urb->transfer_buffer_length, | 680 | urb->transfer_buffer_length, |
681 | dev->video_mode.isoc_ctl. | 681 | dev->video_mode.isoc_ctl. |
682 | transfer_buffer[i], | 682 | transfer_buffer[i], |
683 | urb->transfer_dma); | 683 | urb->transfer_dma); |
684 | } | 684 | } |
685 | usb_free_urb(urb); | 685 | usb_free_urb(urb); |
686 | dev->video_mode.isoc_ctl.urb[i] = NULL; | 686 | dev->video_mode.isoc_ctl.urb[i] = NULL; |
@@ -767,8 +767,8 @@ int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, | |||
767 | dev->video_mode.isoc_ctl.urb[i] = urb; | 767 | dev->video_mode.isoc_ctl.urb[i] = urb; |
768 | 768 | ||
769 | dev->video_mode.isoc_ctl.transfer_buffer[i] = | 769 | dev->video_mode.isoc_ctl.transfer_buffer[i] = |
770 | usb_buffer_alloc(dev->udev, sb_size, GFP_KERNEL, | 770 | usb_alloc_coherent(dev->udev, sb_size, GFP_KERNEL, |
771 | &urb->transfer_dma); | 771 | &urb->transfer_dma); |
772 | if (!dev->video_mode.isoc_ctl.transfer_buffer[i]) { | 772 | if (!dev->video_mode.isoc_ctl.transfer_buffer[i]) { |
773 | cx231xx_err("unable to allocate %i bytes for transfer" | 773 | cx231xx_err("unable to allocate %i bytes for transfer" |
774 | " buffer %i%s\n", | 774 | " buffer %i%s\n", |