]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: marvell-ccic/mmp: enable clock before accessing registers
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 28 May 2019 09:07:27 +0000 (05:07 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 15:23:34 +0000 (11:23 -0400)
commitf12fb2849b11b4c571a32d31ec51eabd70ab8193
tree4b0137aa11176cf3b60582725ccb4912ea2d24a4
parentfa49e1d37bbd6d25a11379891ece1e4d5d313036
media: marvell-ccic/mmp: enable clock before accessing registers

The access to REG_CLKCTRL or REG_CTRL1 without the clock enabled hangs
the machine. Enable the clock first.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/marvell-ccic/mmp-driver.c