usb: it82xx2: return the available data length in the ep read function
According to the Zephyr documentation, the number of bytes available
for read should be returned if the input data and length parameters are
NULL and zero, respectively. This commit corrects this behavior.
Signed-off-by:
Ren Chen <Ren.Chen@ite.com.tw>
Loading
Please sign in to comment