summaryrefslogtreecommitdiff
path: root/sound/soc/intel/common/soc-acpi-intel-adl-match.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2023-03-09 10:13:37 +0300
committerMark Brown <broonie@kernel.org>2023-03-14 16:30:16 +0300
commit083a25b18d6ad9f1f540e629909aa3eaaaf01823 (patch)
tree8983eb4fdd578ad7ce6ae55b689099336466f002 /sound/soc/intel/common/soc-acpi-intel-adl-match.c
parentdda5c809d42389b82f37cbbe562044d8a29083c6 (diff)
downloadlinux-083a25b18d6ad9f1f540e629909aa3eaaaf01823.tar.xz
ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm
The hw->formats may be set by snd_dmaengine_pcm_refine_runtime_hwparams() in component's startup()/open(), but soc_pcm_hw_init() will init hw->formats in dpcm_runtime_setup_fe() after component's startup()/open(), which causes the valuable hw->formats to be cleared. So need to store the hw->formats before initialization, then restore it after initialization. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1678346017-3660-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-adl-match.c')
0 files changed, 0 insertions, 0 deletions