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

Skip to content
Commit 35ad6380 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

sound: usb: Stop endpoints upon disable audio stream request



Currently driver is issuing stop endpoint command after issuing
SET_ALT 0. As part of SET_ALT 0 endpoint drop context flag is set
before issuing configure endpoint command. As per XHCI spec endpoint
should be in stopped state before setting drop context flag otherwise
configure endpoint command may result into undefined behavior. Fix this
by issuing stop endpoint command before SET_ALT 0.

Change-Id: If9ef60db2b0f1af4d6e5e0722414ce738d6580ad
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent e8329f96
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