diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-10-11 08:16:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-24 18:56:18 -0300 |
commit | 90c9e4a4dba9f4de331372e745fb1991c1faa598 (patch) | |
tree | 35f005a2e3fd622a786f995deb0d82010583642b /drivers/media/platform/vimc/vimc-common.c | |
parent | 579d1f7d4fb90b7d06be96ac67b4665dc0d1bcb7 (diff) |
media: smiapp: Register sensor after enabling runtime PM on the device
Earlier it was possible that the parts of the driver that assumed runtime
PM was enabled were being called before runtime PM was enabled in the
driver's probe function. So enable runtime PM before registering the
sub-device.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.c')
0 files changed, 0 insertions, 0 deletions