summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/fs210x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/fs210x.c')
-rw-r--r--sound/soc/codecs/fs210x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/fs210x.c b/sound/soc/codecs/fs210x.c
index e2f85714972d..e6195b71adad 100644
--- a/sound/soc/codecs/fs210x.c
+++ b/sound/soc/codecs/fs210x.c
@@ -924,7 +924,7 @@ static int fs210x_get_drvdata_from_kctrl(struct snd_kcontrol *kctrl,
return -EINVAL;
}
- cmpnt = snd_soc_kcontrol_component(kctrl);
+ cmpnt = snd_kcontrol_chip(kctrl);
if (!cmpnt) {
pr_err("fs210x: component is null\n");
return -EINVAL;