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: Hemant Kumar <hemantk@codeaurora.org>
1 file changed