Skip to content
Commit 0d02cdca authored by Chew Zeh Yang's avatar Chew Zeh Yang Committed by Benjamin Cabé
Browse files

drivers: udc_ambiq: defer enqueue event if the endpoint is stalled



Ambiq USB HAL do not expect endpoint transaction request when an
endpoint is stalled. This commit addresses this behavior in shim driver
by checking for endpoint's stall status when enqueue request is
received, and defer it until endpoint stall is cleared.

Signed-off-by: default avatarChew Zeh Yang <zeon.chew@ambiq.com>
parent 0bb3a1cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment