Message ID | 20220616220427.136036-11-pierre-louis.bossart@linux.intel.com |
---|---|
State | Accepted |
Commit | 05b71fb2a5014d2430ff6c5678db021c67afa9ec |
Headers | show |
Series | ASoC: use pm_runtime_resume_and_get() when possible | expand |
diff --git a/sound/soc/codecs/tas2552.c b/sound/soc/codecs/tas2552.c index c98a9332dcc0e..da744cfae611c 100644 --- a/sound/soc/codecs/tas2552.c +++ b/sound/soc/codecs/tas2552.c @@ -581,7 +581,7 @@ static int tas2552_component_probe(struct snd_soc_component *component) gpiod_set_value(tas2552->enable_gpio, 1); - ret = pm_runtime_get_sync(component->dev); + ret = pm_runtime_resume_and_get(component->dev); if (ret < 0) { dev_err(component->dev, "Enabling device failed: %d\n", ret);