summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-07-08 00:04:37 +0300
committerMark Brown <broonie@kernel.org>2020-07-08 15:51:35 +0300
commit25612477d20b522a3203707ff23575b99f639fff (patch)
treed04a15d39308d77a2af99b0b2cfab2aa2b4c4c91 /scripts/package
parent503ed52225ed3d369c8e0dedf13556a7bc1e5c2b (diff)
downloadlinux-25612477d20b522a3203707ff23575b99f639fff.tar.xz
ASoC: soc-dai: set dai_link dpcm_ flags with a helper
Add a helper to walk through all the DAIs and set dpcm_playback and dpcm_capture flags based on the DAIs capabilities, and use this helper to avoid setting these flags arbitrarily in generic cards. The commit referenced in the Fixes tag did not introduce the configuration issue but will prevent the card from probing when detecting invalid configurations. Fixes: b73287f0b0745 ('ASoC: soc-pcm: dpcm: fix playback/capture checks') Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20200707210439.115300-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions