summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libperl.c
blob: 8871f6a0fdb4817e8fd40de71a7db40085e5588f (plain)
1
2
3
4
5
6
7
8
9
#include <EXTERN.h>
#include <perl.h>

int main(void)
{
	perl_alloc();

	return 0;
}
th>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