linux/sound/soc/rockchip
Kuninori Morimoto f14654ddf2
ASoC: sync parameter naming : rate / sample_bits
snd_pcm_runtime / snd_soc_dai / snd_soc_dai_driver / snd_soc_dai_link
have related parameter which is similar but not same naming.

	struct snd_pcm_runtime {
		...
(A)		unsigned int rate;
		...
(B)		unsigned int sample_bits;
		...
	};

	struct snd_soc_dai {
		...
(A)		unsigned int rate;
(B)		unsigned int sample_bits;
		...
	};

	struct snd_soc_dai_driver {
		...
(A)		unsigned int symmetric_rates:1;
(B)		unsigned int symmetric_samplebits:1;
		...
	};

	struct snd_soc_dai_link {
		...
(A)		unsigned int symmetric_rates:1;
(B)		unsigned int symmetric_samplebits:1;
		...
	};

Because it is similar but not same naming rule,
code can be verbose / can't share macro.

This patch sync naming rule for framework.
	- xxx_rates;
	+ xxx_rate;

	- xxx_samplebits;
	+ xxx_sample_bits;

old name will be removed if all drivers were switched
to new naming rule.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87wnweolj6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-21 12:37:43 +00:00
..
Kconfig ASoC: rockchip_max98090: Add HDMI jack support 2019-10-29 12:31:01 +00:00
Makefile ASoC: rockchip: add config for rockchip dmaengine pcm register 2018-06-18 12:54:38 +01:00
rk3288_hdmi_analog.c ASoC: rockchip: use asoc_substream_to_rtd() 2020-07-23 19:07:29 +01:00
rk3399_gru_sound.c ASoC: rk3399_gru_sound: Add DAPM pins, kcontrols for jack detection 2020-07-30 22:54:39 +01:00
rockchip_i2s.c ASoC: sync parameter naming : rate / sample_bits 2021-01-21 12:37:43 +00:00
rockchip_i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
rockchip_max98090.c ASoC: hdmi-codec: Use set_jack ops to set jack 2020-09-22 12:48:03 +01:00
rockchip_pcm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
rockchip_pcm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
rockchip_pdm.c ASoC: rockchip: mark OF related data as maybe unused 2020-11-26 13:07:07 +00:00
rockchip_pdm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_rt5645.c ASoC: rockchip: use asoc_substream_to_rtd() 2020-07-23 19:07:29 +01:00
rockchip_spdif.c ASoC: rockchip: mark OF related data as maybe unused 2020-11-26 13:07:07 +00:00
rockchip_spdif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00