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/net/wireless/ath | |
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/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ar9170/usb.c b/drivers/net/wireless/ath/ar9170/usb.c index abd083a357f5..82ab532a4923 100644 --- a/drivers/net/wireless/ath/ar9170/usb.c +++ b/drivers/net/wireless/ath/ar9170/usb.c | |||
@@ -215,7 +215,7 @@ resubmit: | |||
215 | return; | 215 | return; |
216 | 216 | ||
217 | free: | 217 | free: |
218 | usb_buffer_free(aru->udev, 64, urb->transfer_buffer, urb->transfer_dma); | 218 | usb_free_coherent(aru->udev, 64, urb->transfer_buffer, urb->transfer_dma); |
219 | } | 219 | } |
220 | 220 | ||
221 | static void ar9170_usb_rx_completed(struct urb *urb) | 221 | static void ar9170_usb_rx_completed(struct urb *urb) |
@@ -296,7 +296,7 @@ static int ar9170_usb_alloc_rx_irq_urb(struct ar9170_usb *aru) | |||
296 | if (!urb) | 296 | if (!urb) |
297 | goto out; | 297 | goto out; |
298 | 298 | ||
299 | ibuf = usb_buffer_alloc(aru->udev, 64, GFP_KERNEL, &urb->transfer_dma); | 299 | ibuf = usb_alloc_coherent(aru->udev, 64, GFP_KERNEL, &urb->transfer_dma); |
300 | if (!ibuf) | 300 | if (!ibuf) |
301 | goto out; | 301 | goto out; |
302 | 302 | ||
@@ -309,8 +309,8 @@ static int ar9170_usb_alloc_rx_irq_urb(struct ar9170_usb *aru) | |||
309 | err = usb_submit_urb(urb, GFP_KERNEL); | 309 | err = usb_submit_urb(urb, GFP_KERNEL); |
310 | if (err) { | 310 | if (err) { |
311 | usb_unanchor_urb(urb); | 311 | usb_unanchor_urb(urb); |
312 | usb_buffer_free(aru->udev, 64, urb->transfer_buffer, | 312 | usb_free_coherent(aru->udev, 64, urb->transfer_buffer, |
313 | urb->transfer_dma); | 313 | urb->transfer_dma); |
314 | } | 314 | } |
315 | 315 | ||
316 | out: | 316 | out: |