[PATCH v3 05/16] soc: mediatek: pm_domains: Make bus protection generic

Matthias Brugger matthias.bgg at gmail.com
Thu Oct 29 10:49:04 EDT 2020



On 27/10/2020 13:57, Fabien Parent wrote:
>> -               ret = mtk_infracfg_set_bus_protection(pd->infracfg,
>> -                                                     bpd[i].bus_prot_mask,
>> -                                                     bpd[i].bus_prot_reg_update);
> 
> [snip]
> 
>> -               ret = mtk_infracfg_clear_bus_protection(pd->infracfg,
>> -                                                       bpd[i].bus_prot_mask,
>> -                                                       bpd[i].bus_prot_reg_update);
> 
> Since you got rid of all the dependencies to mtk-infracfg.c, maybe you
> can also remove the "depends on MTK_INFRACFG" in the Kconfig.
> 

We still need that file for the old driver.

Regards,
Matthias



More information about the Linux-mediatek mailing list