projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88320b7
)
ASoC: Intel: avs: Use helper to setup HOST stream
author
Cezary Rojewski
<cezary.rojewski@intel.com>
Tue, 26 Sep 2023 08:06:22 +0000
(10:06 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 6 Oct 2023 09:11:39 +0000
(11:11 +0200)
snd_hdac_ext_host_stream_setup() abstracts the procedure details away.
Simplify the code by using it.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link:
https://lore.kernel.org/r/20230926080623.43927-4-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/intel/avs/pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/intel/avs/pcm.c
b/sound/soc/intel/avs/pcm.c
index 8565a530706d004159b002d46c1a2a13dd4154a2..e628fdfdc0185cde74eae4b0c7dc990b2a9f910a 100644
(file)
--- a/
sound/soc/intel/avs/pcm.c
+++ b/
sound/soc/intel/avs/pcm.c
@@
-625,7
+625,7
@@
static int avs_dai_fe_prepare(struct snd_pcm_substream *substream, struct snd_so
if (ret < 0)
return ret;
- ret = snd_hdac_
stream_setup(hdac_stream(host_stream)
);
+ ret = snd_hdac_
ext_host_stream_setup(host_stream
);
if (ret < 0)
return ret;