diff options
| -rw-r--r-- | sound/soc/spear/spear_pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/spear/spear_pcm.c b/sound/soc/spear/spear_pcm.c index a7dc3c56f44d..e8476da157cd 100644 --- a/sound/soc/spear/spear_pcm.c +++ b/sound/soc/spear/spear_pcm.c | |||
| @@ -44,7 +44,7 @@ int devm_spear_pcm_platform_register(struct device *dev, | |||
| 44 | *config = spear_dmaengine_pcm_config; | 44 | *config = spear_dmaengine_pcm_config; |
| 45 | config->compat_filter_fn = filter; | 45 | config->compat_filter_fn = filter; |
| 46 | 46 | ||
| 47 | return snd_dmaengine_pcm_register(dev, config, | 47 | return devm_snd_dmaengine_pcm_register(dev, config, |
| 48 | SND_DMAENGINE_PCM_FLAG_NO_DT | | 48 | SND_DMAENGINE_PCM_FLAG_NO_DT | |
| 49 | SND_DMAENGINE_PCM_FLAG_COMPAT); | 49 | SND_DMAENGINE_PCM_FLAG_COMPAT); |
| 50 | } | 50 | } |
