Skip to content
Commit fd0637b8 authored by Michal Suchanek's avatar Michal Suchanek Committed by marex
Browse files

dwc2: use the nonblock argument in submit_int_msg



An USB 1.1 keyboard connected to dwc2 through a high-speed hub does not
report status until it changes. With this patch you can enable keyboard
by pressing a key while USB devices are probed. Without a keypress no
state is reported and the probe times out. We don't want to wait for a
keypress or timeout while polling for keypresses so implement an int_msg
nonblock variant that exits early on error.

Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
parent 2388ec1f
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