OpenCloudOS-Kernel/sound/soc/sh/rcar
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
..
Makefile ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
adg.c ASoC: rsnd: adg: care clock-frequency size 2018-09-06 11:12:52 +01:00
cmd.c ASoC: rsnd: cmd: Add missing newline to debug message 2018-07-05 11:08:03 +01:00
core.c ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER 2018-09-06 11:13:24 +01:00
ctu.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
dma.c ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER 2018-09-06 11:13:24 +01:00
dvc.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
gen.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
mix.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
rsnd.h ASoC: rsnd: fixup not to call clk_get/set under non-atomic 2018-09-03 14:28:59 +01:00
src.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
ssi.c ASoC: rsnd: fixup not to call clk_get/set under non-atomic 2018-09-03 14:28:59 +01:00
ssiu.c ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00