linux/sound/soc/sh
Kuninori Morimoto 6c92d5a274
ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
Current rsnd driver will fallback to PIO mode if it can't get DMA
handler. But, DMA might return -EPROBE_DEFER when probe timing.
This driver always fallback to PIO mode especially from
commit ac6bbf0cdf ("iommu: Remove IOMMU_OF_DECLARE") because
of this reason.

The DMA driver will be probed later, but sound driver might be
probed as PIO mode in such case. This patch fixup this issue.
Then, -EPROBE_DEFER is not error. Thus, let's don't indicate error
message in such case.
And it needs to call rsnd_adg_remove() individually if probe failed,
because it registers clk which should be unregister.

Maybe PIO fallback feature itself is not needed,
but let's keep it so far.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-09-06 11:13:24 +01:00
..
rcar ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER 2018-09-06 11:13:24 +01:00
Kconfig ASoC: sh: Kconfig: convert to SPDX identifiers 2018-07-30 12:02:29 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dma-sh7760.c ASoC: dma-sh7760: convert to SPDX identifiers 2018-06-18 12:16:57 +01:00
fsi.c ASoC: fsi: convert to SPDX identifiers 2018-06-18 12:16:25 +01:00
hac.c ASoC: hac: convert to SPDX identifiers 2018-06-18 12:16:29 +01:00
migor.c ASoC: migor: convert to SPDX identifiers 2018-06-18 12:16:50 +01:00
sh7760-ac97.c ASoC: sh7760-ac97: convert to SPDX identifiers 2018-06-18 12:17:01 +01:00
siu.h ASoC: siu: convert to SPDX identifiers 2018-06-18 12:16:42 +01:00
siu_dai.c ASoC: siu: convert to SPDX identifiers 2018-06-18 12:16:42 +01:00
siu_pcm.c ASoC: siu: convert to SPDX identifiers 2018-06-18 12:16:42 +01:00
ssi.c ASoC: ssi: convert to SPDX identifiers 2018-06-18 12:16:37 +01:00