media: imx: imx-mipi-csis: Don't use .s_power()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 11 Mar 2022 13:29:03 +0000 (13:29 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:56:16 +0000 (08:56 +0100)
commit284dd84878346d85d44466cdb8d263e61de0fa46
tree74ef344e76652dbdf790993eddd9d995f54fc0ea
parentc1cc03eafd319369075dd66b091bd8d309a5b726
media: imx: imx-mipi-csis: Don't use .s_power()

The subdev .s_power() operation is deprecated. Drop it, requiring sensor
drivers to correctly use runtime PM instead of relying on .s_power().

As this driver has just been moved out of staging, and necessary drivers
to implement a full camera pipeline are still in staging, no platform
depends yet on this API being called. There is thus no risk of
regression.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/imx-mipi-csis.c