aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2018-01-02 05:51:57 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-23 07:44:01 -0500
commitfa4293346bd470bfabbd7b69616c7d2608404f52 (patch)
tree39eaf03a76d78626d4f668a0addb64cdd32d78bf /drivers/media
parentmedia: rc: do not remove first bit if leader pulse is present (diff)
downloadlinux-dev-fa4293346bd470bfabbd7b69616c7d2608404f52.tar.xz
linux-dev-fa4293346bd470bfabbd7b69616c7d2608404f52.zip
media: dw9714: Call pm_runtime_idle() at the end of probe()
Call pm_runtime_idle() at the end of the driver's probe() function to enable the device to reach low power state once probe() finishes. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Rajmohan Mani <rajmohan.mani@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/i2c/dw9714.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/dw9714.c b/drivers/media/i2c/dw9714.c
index ed01e8bd4331..78322102fa3f 100644
--- a/drivers/media/i2c/dw9714.c
+++ b/drivers/media/i2c/dw9714.c
@@ -183,6 +183,7 @@ static int dw9714_probe(struct i2c_client *client)
pm_runtime_set_active(&client->dev);
pm_runtime_enable(&client->dev);
+ pm_runtime_idle(&client->dev);
return 0;