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

Commit 36a9a871 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: gadget: Fix USB EP flush issues on disconnect



Currently if cable is disconnected or composition switch happens during
BAM2BAM data transfers, USB driver tries to flush USB endpoint as part of
disconnect, which is failing. This eventually leads to NOC error crash.
Fix the issue by making sure pipes are empty and IPA endpoints are disabled
and perform USB bam reset before disabling USB endpoints as part of new
sequence implementation recommended by HW designers.

Change-Id: I17000fd380d95497629372a9f6371902f04ca2d9
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 403033bb
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