diff options
| -rw-r--r-- | sound/soc/meson/sm1-eqdrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/meson/sm1-eqdrc.c b/sound/soc/meson/sm1-eqdrc.c index 582f846c62b3..47d236ae8c46 100644 --- a/sound/soc/meson/sm1-eqdrc.c +++ b/sound/soc/meson/sm1-eqdrc.c @@ -320,7 +320,7 @@ static int sm1_eqdrc_ram_kctl_read(struct snd_kcontrol *kcontrol, unsigned int __user *bytes, unsigned int size) { - struct snd_soc_component *c = snd_soc_kcontrol_component(kcontrol); + struct snd_soc_component *c = snd_kcontrol_chip(kcontrol); struct soc_bytes_ext *params = (void *)kcontrol->private_value; unsigned int data_size = size - 2 * sizeof(unsigned int); unsigned int *data; @@ -362,7 +362,7 @@ static int sm1_eqdrc_ram_kctl_write(struct snd_kcontrol *kcontrol, const unsigned int __user *bytes, unsigned int size) { - struct snd_soc_component *c = snd_soc_kcontrol_component(kcontrol); + struct snd_soc_component *c = snd_kcontrol_chip(kcontrol); struct soc_bytes_ext *params = (void *)kcontrol->private_value; unsigned int data_size = size - 2 * sizeof(unsigned int); unsigned int *data; |
