OSDN Git Service

media: marvell-ccic: power up the device on mclk enable
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 27 Jan 2021 18:01:43 +0000 (19:01 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 6 Feb 2021 08:31:03 +0000 (09:31 +0100)
commit655ae29da72a693cf294bba3c3322e662ff75bd3
tree365bbffbe59d527903f47976c99a3adf542d5a57
parent918b866edfec39e22ccb9528bc11a0dd6ca62c2b
media: marvell-ccic: power up the device on mclk enable

Writing to REG_CLKCTRL with the power off causes a hang. Enable the
device first.

Cc: stable@vger.kernel.org # 5.10+
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/marvell-ccic/mcam-core.c