diff options
author | Pierre-Louis Bossart <[email protected]> | 2020-07-07 16:04:37 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-07-08 13:51:35 +0100 |
commit | 25612477d20b522a3203707ff23575b99f639fff (patch) | |
tree | d04a15d39308d77a2af99b0b2cfab2aa2b4c4c91 /lib/netdev-notifier-error-inject.c | |
parent | 503ed52225ed3d369c8e0dedf13556a7bc1e5c2b (diff) |
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 <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions