Skip to content
Commit 13e0b1fa authored by Michal Smola's avatar Michal Smola Committed by David Leach
Browse files

drivers: usb: Use VREG only if present for NXP Kinetis usb



Some NXP socs with Kinetis USB do not have USB voltage regulator.
It causes build error in USB samples.
Fix it by enabling and disabling the voltage regulator only if
present.

Signed-off-by: default avatarMichal Smola <michal.smola@nxp.com>
parent e84cfa50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment