Skip to content

Commit c29dda8

Browse files
committed
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 <[email protected]>
1 parent d95d2e8 commit c29dda8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/media/platform/mxc/subdev/mxc_mipi_csi.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,6 @@ static int mipi_csis_phy_init(struct csi_state *state)
381381
ret = regulator_set_voltage(state->mipi_phy_regulator,
382382
1000000, 1000000);
383383

384-
ret = regulator_enable(state->mipi_phy_regulator);
385-
if (ret) {
386-
dev_err(state->dev, "failed to set mipi regulator.\n");
387-
return ret;
388-
}
389384
return ret;
390385
}
391386

0 commit comments

Comments
 (0)