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

Skip to content
Commit 767cd797 authored by Lena Salman's avatar Lena Salman
Browse files

Revert "usb: host: Verify sg before accessing it in qh_urb_transaction"



This reverts commit 1d239e70
This change was causing -ENOMEM issue. It seems that the "break"
from the infinite loop only happens in the if (this_sg_len <= 0) check,
which does not get hit when adding the "sg &&" portion.
 This led to DMA pool exhaustion due to calling ehci_qtd_alloc()
many times and eventually to ENOMEM error.

Change-Id: If899c0eb0ec33b1b96c6e6592f95a4788b6c854a
Signed-off-by: default avatarLena Salman <esalman@codeaurora.org>
parent 5cc57e3e
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