mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
media: venus: firmware: Do not toggle WRAPPER_A9SS_SW_RESET on 6xx
Do not toggle the WRAPPER_A9SS_SW_RESET on 6xx. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
64afe82740
commit
ec7ad11740
|
|
@ -53,10 +53,12 @@ int venus_set_hw_state(struct venus_core *core, bool resume)
|
|||
return ret;
|
||||
}
|
||||
|
||||
if (resume)
|
||||
if (resume) {
|
||||
venus_reset_cpu(core);
|
||||
else
|
||||
writel(1, core->wrapper_base + WRAPPER_A9SS_SW_RESET);
|
||||
} else {
|
||||
if (!IS_V6(core))
|
||||
writel(1, core->wrapper_base + WRAPPER_A9SS_SW_RESET);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user