Hello.

David Brownell wrote:

Answer to my question:  because one branch must advance
the bulk or control queue the endpoint was on, but the
other branch doesn't.
Yes. The other branch also must not call musb_giveback() because thel latter assumes to be called on active qh and will e.g. spoil the saved toggle state otherwise.

Saved toggle state is never-no-mind in this function
though, since the endpoint is going away.

Sigh... it will spoil the state of another, curently active endpoint, of course.

WBR, Sergei



_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to