diff options
Diffstat (limited to 'sound/soc/codecs/88pm860x-codec.c')
-rw-r--r-- | sound/soc/codecs/88pm860x-codec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c index b07e17160f94..b18cafa5a858 100644 --- a/sound/soc/codecs/88pm860x-codec.c +++ b/sound/soc/codecs/88pm860x-codec.c | |||
@@ -276,7 +276,7 @@ static int snd_soc_get_volsw_2r_st(struct snd_kcontrol *kcontrol, | |||
276 | { | 276 | { |
277 | struct soc_mixer_control *mc = | 277 | struct soc_mixer_control *mc = |
278 | (struct soc_mixer_control *)kcontrol->private_value; | 278 | (struct soc_mixer_control *)kcontrol->private_value; |
279 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 279 | struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); |
280 | unsigned int reg = mc->reg; | 280 | unsigned int reg = mc->reg; |
281 | unsigned int reg2 = mc->rreg; | 281 | unsigned int reg2 = mc->rreg; |
282 | int val[2], val2[2], i; | 282 | int val[2], val2[2], i; |
@@ -300,7 +300,7 @@ static int snd_soc_put_volsw_2r_st(struct snd_kcontrol *kcontrol, | |||
300 | { | 300 | { |
301 | struct soc_mixer_control *mc = | 301 | struct soc_mixer_control *mc = |
302 | (struct soc_mixer_control *)kcontrol->private_value; | 302 | (struct soc_mixer_control *)kcontrol->private_value; |
303 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 303 | struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); |
304 | unsigned int reg = mc->reg; | 304 | unsigned int reg = mc->reg; |
305 | unsigned int reg2 = mc->rreg; | 305 | unsigned int reg2 = mc->rreg; |
306 | int err; | 306 | int err; |
@@ -333,7 +333,7 @@ static int snd_soc_get_volsw_2r_out(struct snd_kcontrol *kcontrol, | |||
333 | { | 333 | { |
334 | struct soc_mixer_control *mc = | 334 | struct soc_mixer_control *mc = |
335 | (struct soc_mixer_control *)kcontrol->private_value; | 335 | (struct soc_mixer_control *)kcontrol->private_value; |
336 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 336 | struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); |
337 | unsigned int reg = mc->reg; | 337 | unsigned int reg = mc->reg; |
338 | unsigned int reg2 = mc->rreg; | 338 | unsigned int reg2 = mc->rreg; |
339 | unsigned int shift = mc->shift; | 339 | unsigned int shift = mc->shift; |
@@ -353,7 +353,7 @@ static int snd_soc_put_volsw_2r_out(struct snd_kcontrol *kcontrol, | |||
353 | { | 353 | { |
354 | struct soc_mixer_control *mc = | 354 | struct soc_mixer_control *mc = |
355 | (struct soc_mixer_control *)kcontrol->private_value; | 355 | (struct soc_mixer_control *)kcontrol->private_value; |
356 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 356 | struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); |
357 | unsigned int reg = mc->reg; | 357 | unsigned int reg = mc->reg; |
358 | unsigned int reg2 = mc->rreg; | 358 | unsigned int reg2 = mc->rreg; |
359 | unsigned int shift = mc->shift; | 359 | unsigned int shift = mc->shift; |