summaryrefslogtreecommitdiff
path: root/drivers/media/platform/verisilicon
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-11-22 18:21:34 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-12-09 09:39:10 +0300
commit5705b0e0eb550ff834125a46a4ef99b62093d83d (patch)
treec13d4aeb5e81391f430a908bf78d91567e5af10c /drivers/media/platform/verisilicon
parent2a0ed5a3573b88e85d778e81d2be3c0fdf7a884d (diff)
downloadlinux-5705b0e0eb550ff834125a46a4ef99b62093d83d.tar.xz
media: imx-mipi-csis: Fix clock handling in remove()
The driver always calls mipi_csis_runtime_suspend() and mipi_csis_clk_disable() in remove(). This causes multiple WARNs from the kernel, as the clocks get disabled too many times. Fix the remove() to call mipi_csis_runtime_suspend() and mipi_csis_clk_disable() in a way that reverses what is done in probe(). Link: https://lore.kernel.org/r/20231122-imx-csis-v2-1-e44b8dc4cb66@ideasonboard.com Fixes: 7807063b862b ("media: staging/imx7: add MIPI CSI-2 receiver subdev for i.MX7") Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/verisilicon')
0 files changed, 0 insertions, 0 deletions