Re: [PATCH] Bluetooth: btusb: Separate TX URB allocation and submission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On Sun, Sep 14, 2014, Marcel Holtmann wrote:
> The complete TX URB handling is done via a switch statement in the
> btusb_send_frame function. To allow for more clear separation between
> control, bulk and isoc URBs, split them into allocation and submission.
> 
> Previously the inc_tx function has been used for tracking in-flight
> URB for HCI commands and ACL data packets. Convert that into a common
> function that either submits the URB or queues it when needed.
> 
> This provides the flexibility to allow vendor specific hdev->send_frame
> callbacks without having to duplicate the whole URB handling logic.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  drivers/bluetooth/btusb.c | 206 ++++++++++++++++++++++++++++------------------
>  1 file changed, 125 insertions(+), 81 deletions(-)

Applied to bluetooth-next. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux