Home
last modified time | relevance | path

Searched refs:dcodec_pd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dlpass-macro-common.c36 l_pds->dcodec_pd = dev_pm_domain_attach_by_name(dev, "dcodec"); in lpass_macro_pds_init()
37 if (IS_ERR_OR_NULL(l_pds->dcodec_pd)) { in lpass_macro_pds_init()
38 ret = l_pds->dcodec_pd ? PTR_ERR(l_pds->dcodec_pd) : -ENODATA; in lpass_macro_pds_init()
42 ret = pm_runtime_resume_and_get(l_pds->dcodec_pd); in lpass_macro_pds_init()
48 dev_pm_domain_detach(l_pds->dcodec_pd, false); in lpass_macro_pds_init()
63 pm_runtime_put(pds->dcodec_pd); in lpass_macro_pds_exit()
64 dev_pm_domain_detach(pds->dcodec_pd, false); in lpass_macro_pds_exit()
H A Dlpass-macro-common.h14 struct device *dcodec_pd; member