]> git.karo-electronics.de Git - linux-beck.git/blobdiff - sound/soc/soc-topology.c
Merge tag 'asoc-fix-v4.2-rc3' into asoc-fix-topology
[linux-beck.git] / sound / soc / soc-topology.c
index 59ac211f8fe7c273c84dcd67ac94bb27cb760564..2c70f30d2d78b41e259afa3f3702229c25a1c2ef 100644 (file)
@@ -534,7 +534,7 @@ static int soc_tplg_kcontrol_bind_io(struct snd_soc_tplg_ctl_hdr *hdr,
                        k->put = bops[i].put;
                if (k->get == NULL && bops[i].id == hdr->ops.get)
                        k->get = bops[i].get;
-               if (k->info == NULL && ops[i].id == hdr->ops.info)
+               if (k->info == NULL && bops[i].id == hdr->ops.info)
                        k->info = bops[i].info;
        }
 
@@ -1350,6 +1350,7 @@ static int soc_tplg_dapm_widget_create(struct soc_tplg *tplg,
        template.reg = w->reg;
        template.shift = w->shift;
        template.mask = w->mask;
+       template.subseq = w->subseq;
        template.on_val = w->invert ? 0 : 1;
        template.off_val = w->invert ? 1 : 0;
        template.ignore_suspend = w->ignore_suspend;