usb: phy: snps: Return error if driver fails to enable power
Currently driver is not returning any error from the error
handling path if driver fails to enable power for PHY.
This patch adds a check and returns error if the driver
actually fails to set_voltage or fails to enable a particular
regulator.
Change-Id: I5427690602b6152151adee71c6388ce836ab90c6
Signed-off-by:
Pratham Pratap <prathampratap@codeaurora.org>
Loading
Please register or sign in to comment