]> git.baikalelectronics.ru Git - kernel.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:43 +0000 (09:33 +0100)
commita2ccc6279cdef87cf527ac80c63f506b2b567ede
treee831d58ec9e0c357e844457e813132d9768474dd
parenta2b70351b18558a593f7622c3ceb7dbc41aeecc4
media: imx-jpeg: Apply clk_bulk api instead of operating specific clk

[ Upstream commit bf0a0fe57f61a7fc5c0d5e5fd2e301d86b7bff66 ]

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: 605d96ce1793 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h