summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-03-05 10:00:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-25 07:51:29 +0200
commit5a8cc197456fe3d7a15c672b9bd46f49d3b934dc (patch)
treec324b67882b3ae9accabbedeb7bba52470087037 /common
parent8e2ee4b2cd5bc372a00c11805b4fbfe7274a8fb4 (diff)
downloadbarebox-5a8cc197456fe3d7a15c672b9bd46f49d3b934dc.tar.gz
barebox-5a8cc197456fe3d7a15c672b9bd46f49d3b934dc.tar.xz
usb: i.MX: warn if vbus regulator isn't available
Instead of just ignoring errors related to getting the vbus regulator yield at least a warning message. This would have saved me some debugging time when trying to understand why USB doesn't work without the right regulator driver enabled. Note that machines that don't define a regulator in their device tree don't issue this warning as regulator_get() returns the dummy regulator in this case. The alternative to error out wasn't accepted because this probably creates regressions for regulators that are default-on but without a driver in barebox. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.barebox.org/20210305090001.3619780-1-u.kleine-koenig@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions