commit | 2addee35f2da178bf858403f2e2cb20a59df734f | [log] [tgz] |
---|---|---|
author | Wolfgang Grandegger <wg@aries-embedded.de> | Mon Mar 14 09:32:53 2022 +0100 |
committer | Marek Vasut <marex@denx.de> | Mon Mar 14 12:31:12 2022 +0100 |
tree | ac0d157e9d272c998513384ac8ab43b233f738e1 | |
parent | c96137000e4cf486dcb164fd67a1a0b5b2fb99c6 [diff] |
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: Wolfgang Grandegger <wg@aries-embedded.de>