mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
media: iris: Fix opp scaling of power domains
Pass PD_FLAG_REQUIRED_OPP flag to allow opp framework to scale the rpmpd power domains. Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Dikshita Agarwal <quic_dikshita@quicinc.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
478c447861
commit
f6940b79fc
|
|
@ -53,7 +53,7 @@ static int iris_init_power_domains(struct iris_core *core)
|
|||
struct dev_pm_domain_attach_data iris_opp_pd_data = {
|
||||
.pd_names = core->iris_platform_data->opp_pd_tbl,
|
||||
.num_pd_names = core->iris_platform_data->opp_pd_tbl_size,
|
||||
.pd_flags = PD_FLAG_DEV_LINK_ON,
|
||||
.pd_flags = PD_FLAG_DEV_LINK_ON | PD_FLAG_REQUIRED_OPP,
|
||||
};
|
||||
|
||||
ret = devm_pm_domain_attach_list(core->dev, &iris_pd_data, &core->pmdomain_tbl);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user