mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-02 13:23:45 +00:00
ASoC: Remove unused num_dai field from CODEC
Commit d191bd8de8
("ASoC: snd_soc_codec includes snd_soc_component") removed the
last user of the num_dai field. Also remove the field itself.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
af0881ffbd
commit
db88a8e3ca
2 changed files with 0 additions and 2 deletions
|
@ -701,7 +701,6 @@ struct snd_soc_codec {
|
||||||
struct snd_soc_card *card;
|
struct snd_soc_card *card;
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
struct list_head card_list;
|
struct list_head card_list;
|
||||||
int num_dai;
|
|
||||||
|
|
||||||
/* runtime */
|
/* runtime */
|
||||||
struct snd_ac97 *ac97; /* for ad-hoc ac97 devices */
|
struct snd_ac97 *ac97; /* for ad-hoc ac97 devices */
|
||||||
|
|
|
@ -4277,7 +4277,6 @@ int snd_soc_register_codec(struct device *dev,
|
||||||
codec->dapm.stream_event = codec_drv->stream_event;
|
codec->dapm.stream_event = codec_drv->stream_event;
|
||||||
codec->dev = dev;
|
codec->dev = dev;
|
||||||
codec->driver = codec_drv;
|
codec->driver = codec_drv;
|
||||||
codec->num_dai = num_dai;
|
|
||||||
codec->component.val_bytes = codec_drv->reg_word_size;
|
codec->component.val_bytes = codec_drv->reg_word_size;
|
||||||
mutex_init(&codec->mutex);
|
mutex_init(&codec->mutex);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue