Skip to content
Commit 1264a9a1 authored by Ren Chen's avatar Ren Chen Committed by Johan Hedberg
Browse files

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: default avatarRen Chen <Ren.Chen@ite.com.tw>
parent d9099efc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment