summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-08-29 08:36:22 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-11 06:58:01 -0200
commit1be9ba20e1b3dccc7fb972f0f370ae27c0187718 (patch)
treecea5be23e042e79b67aa04ca7e6df76fb0584de7
parent86efc5043269df417d6145d912c87aafbed0c5c9 (diff)
[media] v4l: omap4iss: csi2: Enable automatic ULP mode transition
Automatically switch between ULP and ON states based on ULPM signal from complex I/O. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/staging/media/omap4iss/iss_csiphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/omap4iss/iss_csiphy.c b/drivers/staging/media/omap4iss/iss_csiphy.c
index 25e6f899024..d5c7cec9b99 100644
--- a/drivers/staging/media/omap4iss/iss_csiphy.c
+++ b/drivers/staging/media/omap4iss/iss_csiphy.c
@@ -63,8 +63,8 @@ static int csiphy_set_power(struct iss_csiphy *phy, u32 power)
writel((readl(phy->cfg_regs + CSI2_COMPLEXIO_CFG) &
~CSI2_COMPLEXIO_CFG_PWD_CMD_MASK) |
- power,
- phy->cfg_regs + CSI2_COMPLEXIO_CFG);
+ power | CSI2_COMPLEXIO_CFG_PWR_AUTO,
+ phy->cfg_regs + CSI2_COMPLEXIO_CFG);
retry_count = 0;
do {