8ed339f23d
The direction of the pipe argument must match the request-type direction
bit or control requests may fail depending on the host-controller-driver
implementation.
Control transfers without a data stage are treated as OUT requests by
the USB stack and should be using usb_sndctrlpipe(). Failing to do so
will now trigger a warning.
Fix the gl860_RTx() helper so that zero-length control reads fail with
an error message instead. Note that there are no current callers that
would trigger this.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
gl860-mi1320.c | ||
gl860-mi2020.c | ||
gl860-ov2640.c | ||
gl860-ov9655.c | ||
gl860.c | ||
gl860.h |