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 <[email protected]>
Tested-by: Rajmohan Mani <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
Sakari Ailus 2018-01-02 05:51:57 -05:00 • committed by Mauro Carvalho Chehab
commit fa4293346b

View file

@ -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;