]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: btusb: fix bInterval for high/super speed isochronous endpoints
authorBing Zhao <bzhao@marvell.com>
Wed, 21 Dec 2011 02:19:00 +0000 (18:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:27:20 +0000 (09:27 -0700)
commit962992dcf9ec5cc86e8f5233c9f8b7a417c6e7ff
tree49c9a08d2d83a16e5fd6b8b7c4c159b63d89dce6
parent41f8ef7f8b7c2b0b0d1f4682bb70c709c1d3c541
Bluetooth: btusb: fix bInterval for high/super speed isochronous endpoints

commit fa0fb93f2ac308a76fa64eb57c18511dadf97089 upstream.

For high-speed/super-speed isochronous endpoints, the bInterval
value is used as exponent, 2^(bInterval-1). Luckily we have
usb_fill_int_urb() function that handles it correctly. So we just
call this function to fill in the RX URB.

Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bluetooth/btusb.c