Home
last modified time | relevance | path

Searched refs:hsic_pad_regulator (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/usb/chipidea/
Dci_hdrc_imx.c96 struct regulator *hsic_pad_regulator; member
362 data->hsic_pad_regulator = devm_regulator_get(dev, "hsic"); in ci_hdrc_imx_probe()
363 if (PTR_ERR(data->hsic_pad_regulator) == -EPROBE_DEFER) { in ci_hdrc_imx_probe()
365 } else if (PTR_ERR(data->hsic_pad_regulator) == -ENODEV) { in ci_hdrc_imx_probe()
367 data->hsic_pad_regulator = NULL; in ci_hdrc_imx_probe()
368 } else if (IS_ERR(data->hsic_pad_regulator)) { in ci_hdrc_imx_probe()
370 PTR_ERR(data->hsic_pad_regulator)); in ci_hdrc_imx_probe()
371 return PTR_ERR(data->hsic_pad_regulator); in ci_hdrc_imx_probe()
374 if (data->hsic_pad_regulator) { in ci_hdrc_imx_probe()
375 ret = regulator_enable(data->hsic_pad_regulator); in ci_hdrc_imx_probe()
[all …]