sn't exist - net-next.git - net-next plumbings
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNicolin Chen <nicolinc@nvidia.com>2016-01-30 23:07:00 -0800
committerMark Brown <broonie@kernel.org>2016-02-04 11:56:51 +0000
commit089dfaf7f7f9b18e3dffb6d9ee8b37089025b952 (patch)
tree16f6762f22bd9075eac97741c2c6b5e9b9e2a3e4 /Documentation
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
ASoC: fsl-asoc-card: Don't add DAPM routes for ASRC if it doesn't exist
There are a pair of warnings when ASRC is absent in the DTB: fsl-asoc-card sound: ASoC: no source widget found for ASRC-Playback fsl-asoc-card sound: ASoC: Failed to add route ASRC-Playback -> direct -> CPU-Playback fsl-asoc-card sound: ASoC: no sink widget found for ASRC-Capture fsl-asoc-card sound: ASoC: Failed to add route CPU-Capture -> direct -> ASRC-Capture This is because the driver is still trying to add DAPM routes for ASRC even if it doesn't exist on that platform. The warnings are harmless but it might be annoying. So this patch drops the DAPM routes of ASRC when it's absent in the DAI link. Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')