summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mxc
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2016-06-02 15:30:26 +0800
committerSandor Yu <Sandor.yu@nxp.com>2016-06-02 16:44:28 +0800
commit4a7f9e7af6c54a53f30d65dbc0af816bc426b107 (patch)
treeeae440f9e05923ea890a6102a3283823559bc8a0 /drivers/media/platform/mxc
parente140034edbcb4432d895a61120cec75b99f21162 (diff)
MLK-12876: mipi csi: Remove regulator enable code when driver probe
Mipi CSI PHY regulator will enabled in function of s_power. So remove regulator enable code when driver probe. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> (cherry picked from commit c29dda8f4092cdeff7f7661f8ac2a05f98a71296)
Diffstat (limited to 'drivers/media/platform/mxc')
-rw-r--r--drivers/media/platform/mxc/subdev/mxc_mipi_csi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/platform/mxc/subdev/mxc_mipi_csi.c b/drivers/media/platform/mxc/subdev/mxc_mipi_csi.c
index d0e294d7c91a..bb9dd3d48e53 100644
--- a/drivers/media/platform/mxc/subdev/mxc_mipi_csi.c
+++ b/drivers/media/platform/mxc/subdev/mxc_mipi_csi.c
@@ -381,11 +381,6 @@ static int mipi_csis_phy_init(struct csi_state *state)
ret = regulator_set_voltage(state->mipi_phy_regulator,
1000000, 1000000);
- ret = regulator_enable(state->mipi_phy_regulator);
- if (ret) {
- dev_err(state->dev, "failed to set mipi regulator.\n");
- return ret;
- }
return ret;
}