Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f11d4c0 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: u_bam_data: Check for port_usb after fifo allocation



Currently driver allocates memory for data fifo and descriptor fifo for
both pipes before configuring DBM endpoints and doing bam2bam connection
with IPA. There is a chance that disconnect happens and it might race with
previous connect_work. Hence add check after fifos allocation before
confgiuring DBM endpoints and going ahead with bam2bam connections.  Also
check whether request is NULL or not before queuing to USB controller.

Change-Id: I6d5cf8347b7722f512c7d93cd9ab58f0e4e10384
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent a8371783
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment