linux/sound/soc/sh
Kuninori Morimoto 07f6232ff1
ASoC: rsnd: no exception for SCU
R-Car Gen1 and Gen4 doesn't have SCU, and current driver checks Gen1
(only) on each devices (A). But these drivers are assuming it might be
not enabled after that (B).

	/* This driver doesn't support Gen1 at this point */
(A)	if (rsnd_is_gen1(priv))
		return 0;

(B)	node = rsnd_src_of_node(priv);
	if (!node)
		return 0; /* not used is not error */

Gen4 DT doesn't have these device settings. (A) check doesn't work for
it, but (B) check handling it.
Gen1 DT doesn't have these device settings either, and (A) is handling
it, but (B) only is very enough. (A) is no longer needed.

This patch removes (A)

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://msgid.link/r/87v850a4dl.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-04-02 15:55:07 +01:00
..
rcar ASoC: rsnd: no exception for SCU 2024-04-02 15:55:07 +01:00
dma-sh7760.c ASoC: convert asoc_xxx() to snd_soc_xxx() 2023-09-26 15:16:52 +02:00
fsi.c ASoC: sh: convert not to use dma_request_slave_channel() 2023-11-27 13:44:06 +00:00
hac.c ASoC: sh: hac: Convert to platform remove callback returning void 2023-03-20 13:08:58 +00:00
Kconfig ASoC: rsnd: Drop obsolete dependency on COMPILE_TEST 2022-11-28 13:04:23 +00:00
Makefile ASoC: sh: Add RZ/G2L SSIF-2 driver 2021-08-13 13:17:16 +01:00
migor.c ASoC: sh: convert not to use asoc_xxx() 2023-09-25 14:16:15 +02:00
rz-ssi.c ASoC: sh: rz-ssi: Fix error message print 2024-01-30 15:27:56 +00:00
sh7760-ac97.c ASoC: sh: sh7760-ac97: use modern dai_link style 2019-06-06 21:37:35 +01:00
siu_dai.c ASoC: siu: Add MODULE_FIRMWARE macro 2023-06-13 12:15:12 +01:00
siu_pcm.c ASoC: sh: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:22 +01:00
siu.h ASoC: siu: Fix build error by a wrong const prefix 2021-01-27 12:35:18 +00:00
ssi.c ASoC: sh: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:22 +01:00