mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
venus: firmware: Correct reset bit
The reset bit for A9SS reset register is BIT(4) and for XTSS_SW_RESET it is BIT(0). Use the defines for those reset bits. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
This commit is contained in:
parent
15886e59cb
commit
bd32d0851c
|
|
@ -68,9 +68,11 @@ int venus_set_hw_state(struct venus_core *core, bool resume)
|
|||
venus_reset_cpu(core);
|
||||
} else {
|
||||
if (IS_V6(core))
|
||||
writel(1, core->wrapper_tz_base + WRAPPER_TZ_XTSS_SW_RESET);
|
||||
writel(WRAPPER_XTSS_SW_RESET_BIT,
|
||||
core->wrapper_tz_base + WRAPPER_TZ_XTSS_SW_RESET);
|
||||
else
|
||||
writel(1, core->wrapper_base + WRAPPER_A9SS_SW_RESET);
|
||||
writel(WRAPPER_A9SS_SW_RESET_BIT,
|
||||
core->wrapper_base + WRAPPER_A9SS_SW_RESET);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user