]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
authorMing Qian <ming.qian@nxp.com>
Thu, 12 Jan 2023 09:47:02 +0000 (10:47 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 06:31:17 +0000 (07:31 +0100)
commit61fe43dc9f454bc3caa99dbdd8f5fa3ba813981a
treee5212fd9a659eab178ec6c414a7e708e70af7a1e
parentc07e734b7a65c7706319e24f9b14ec9d262fa50c
media: imx-jpeg: Apply clk_bulk api instead of operating specific clk

using the api of clk_bulk can simplify the code.
and the clock of the jpeg codec may be changed,
the clk_bulk api can be compatible with the future change.

Fixes: 4c2e5156d9fa ("media: imx-jpeg: Add pm-runtime support for imx-jpeg")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h