]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: common: silence dubious errors
authorMichael Walle <michael@walle.cc>
Fri, 15 Oct 2021 13:15:20 +0000 (15:15 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
commit7f79a2c2357d16fc9dd08e761e931a4f2169d625
tree12afc7a973a345334f9b78dbb677d9227909fc15
parentf53e102e12c0e1bdda035be1aa5ec59c9787a21a
usb: common: silence dubious errors

Both dr_mode and maximum-speed properties are usually optional. Drivers
will still try to fetch the properties nonetheless, which leads to error
messages, although they are no errors. Change pr_err() to pr_debug().

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/usb/common/common.c