Commit fa31a2c7 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: soc-dai.h: remove symmetric_rates/samplebits

All drivers are using new name.
Let's remove old one.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87bldqn6sr.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6944db0a
...@@ -353,10 +353,8 @@ struct snd_soc_dai_driver { ...@@ -353,10 +353,8 @@ struct snd_soc_dai_driver {
/* DAI capabilities */ /* DAI capabilities */
struct snd_soc_pcm_stream capture; struct snd_soc_pcm_stream capture;
struct snd_soc_pcm_stream playback; struct snd_soc_pcm_stream playback;
unsigned int symmetric_rates:1; /* will be removed */
unsigned int symmetric_rate:1; unsigned int symmetric_rate:1;
unsigned int symmetric_channels:1; unsigned int symmetric_channels:1;
unsigned int symmetric_samplebits:1; /* will be removed */
unsigned int symmetric_sample_bits:1; unsigned int symmetric_sample_bits:1;
/* probe ordering - for components with runtime dependencies */ /* probe ordering - for components with runtime dependencies */
......
...@@ -2509,15 +2509,6 @@ int snd_soc_register_component(struct device *dev, ...@@ -2509,15 +2509,6 @@ int snd_soc_register_component(struct device *dev,
{ {
struct snd_soc_component *component; struct snd_soc_component *component;
int ret; int ret;
int i;
/* Remove ME */
for (i = 0; i < num_dai; i++) {
if (dai_drv[i].symmetric_rates)
dai_drv[i].symmetric_rate = dai_drv[i].symmetric_rates;
if (dai_drv[i].symmetric_samplebits)
dai_drv[i].symmetric_sample_bits = dai_drv[i].symmetric_samplebits;
}
component = devm_kzalloc(dev, sizeof(*component), GFP_KERNEL); component = devm_kzalloc(dev, sizeof(*component), GFP_KERNEL);
if (!component) if (!component)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment