mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
irqchip/gic-v3-its: set flag "ITS_FLAGS_SAVE_SUSPEND_STATE" if rk3568 or rk3566
Change-Id: I5ed122b6480f2fef1ed21bbe0b3ef0ae7c84d3b4 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
This commit is contained in:
committed by
Tao Huang
parent
ef0b86754e
commit
330a359767
@@ -3593,6 +3593,9 @@ static int __init its_probe_one(struct resource *res,
|
||||
if (GITS_TYPER_HCC(typer))
|
||||
its->flags |= ITS_FLAGS_SAVE_SUSPEND_STATE;
|
||||
|
||||
if (of_machine_is_compatible("rockchip,rk3568") || of_machine_is_compatible("rockchip,rk3566"))
|
||||
its->flags |= ITS_FLAGS_SAVE_SUSPEND_STATE;
|
||||
|
||||
err = its_init_domain(handle, its);
|
||||
if (err)
|
||||
goto out_free_tables;
|
||||
|
||||
Reference in New Issue
Block a user