ASoC: core: Pass kcontrol to bytes tlv callbacks
[deliverable/linux.git] / sound / soc / soc-ops.c
index ecd38e52285a964d53fce4c5c0d4ae71fd4bc15d..ba3e49010ac3bf840c9a2da67d1290322104d66b 100644 (file)
@@ -779,11 +779,11 @@ int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag,
        switch (op_flag) {
        case SNDRV_CTL_TLV_OP_READ:
                if (params->get)
-                       ret = params->get(tlv, count);
+                       ret = params->get(kcontrol, tlv, count);
                break;
        case SNDRV_CTL_TLV_OP_WRITE:
                if (params->put)
-                       ret = params->put(tlv, count);
+                       ret = params->put(kcontrol, tlv, count);
                break;
        }
        return ret;
This page took 0.061512 seconds and 5 git commands to generate.