File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
drivers/media/platform/qcom/venus Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -876,7 +876,7 @@ static int vcodec_domains_get(struct venus_core *core)
876
876
if (!res -> vcodec_pmdomains_num )
877
877
goto skip_pmdomains ;
878
878
879
- ret = dev_pm_domain_attach_list (dev , & vcodec_data , & core -> pmdomains );
879
+ ret = devm_pm_domain_attach_list (dev , & vcodec_data , & core -> pmdomains );
880
880
if (ret < 0 )
881
881
return ret ;
882
882
@@ -902,14 +902,11 @@ static int vcodec_domains_get(struct venus_core *core)
902
902
return 0 ;
903
903
904
904
opp_attach_err :
905
- dev_pm_domain_detach_list (core -> pmdomains );
906
905
return ret ;
907
906
}
908
907
909
908
static void vcodec_domains_put (struct venus_core * core )
910
909
{
911
- dev_pm_domain_detach_list (core -> pmdomains );
912
-
913
910
if (!core -> has_opp_table )
914
911
return ;
915
912
You can’t perform that action at this time.
0 commit comments