OSDN Git Service

media: venus: core: change clk enable and disable order in resume and suspend
authorMansur Alisha Shaik <mansur@codeaurora.org>
Mon, 19 Oct 2020 04:18:11 +0000 (06:18 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 18:08:48 +0000 (19:08 +0100)
commit21926d466e3a4f35c2536244d1d56512cc81a0a9
treeb1ea27ff723d5689bc5a688b07cbc25bf3cb9729
parentde04408fd12d5d3b9fb3724034666a84cccbf190
media: venus: core: change clk enable and disable order in resume and suspend

Currently video driver is voting after clk enable and un voting
before clk disable. This is incorrect, video driver should vote
before clk enable and unvote after clk disable.

Corrected this by changing the order of clk enable and clk disable.

suspend")

Fixes: 07f8f22a33a9e ("media: venus: core: remove CNOC voting while device
Signed-off-by: Mansur Alisha Shaik <mansur@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/core.c