ASoC: fsl-asoc-card: Don't error out if ENOTSUPP
authorNicolin Chen <nicoleotsuka@gmail.com>
Fri, 8 Sep 2017 05:27:33 +0000 (22:27 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 19 Sep 2017 13:37:35 +0000 (14:37 +0100)
commit758a3b0183a83a4827afc892c417cd6f8d12e189
tree4c935f72c16681d57e9a0c24e9f5543bc2147333
parentb0a7043d5c2ccdd306959f295bf1a62be025cbf5
ASoC: fsl-asoc-card: Don't error out if ENOTSUPP

The snd_soc_component_set_sysclk() and snd_soc_dai_set_tdm_slot()
in the soc-core.c will return -ENOTSUPP if there is no function
implementation for them in the dai and component drivers.

So this patch tries to ignore this errno.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c