Skip to content
Commit 2addee35 authored by Wolfgang Grandegger's avatar Wolfgang Grandegger Committed by Marek Vasut
Browse files

usb: dwc2: handle return code of dev_read_size() in of to, plat function



dev_read_size() returns -EINVAL (-22) if the property "g-tx-fifo-size"
does not exist. If that's the case, we now keep the default value of 0.

Signed-off-by: default avatarWolfgang Grandegger <wg@aries-embedded.de>
parent c9613700
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