diff options
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
| -rw-r--r-- | sound/pci/hda/hda_generic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 8321a97d5c05..d9a09bdd09db 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c | |||
| @@ -3269,7 +3269,7 @@ static int cap_put_caller(struct snd_kcontrol *kcontrol, | |||
| 3269 | mutex_unlock(&codec->control_mutex); | 3269 | mutex_unlock(&codec->control_mutex); |
| 3270 | snd_hda_codec_flush_cache(codec); /* flush the updates */ | 3270 | snd_hda_codec_flush_cache(codec); /* flush the updates */ |
| 3271 | if (err >= 0 && spec->cap_sync_hook) | 3271 | if (err >= 0 && spec->cap_sync_hook) |
| 3272 | spec->cap_sync_hook(codec, ucontrol); | 3272 | spec->cap_sync_hook(codec, kcontrol, ucontrol); |
| 3273 | return err; | 3273 | return err; |
| 3274 | } | 3274 | } |
| 3275 | 3275 | ||
| @@ -3390,7 +3390,7 @@ static int cap_single_sw_put(struct snd_kcontrol *kcontrol, | |||
| 3390 | return ret; | 3390 | return ret; |
| 3391 | 3391 | ||
| 3392 | if (spec->cap_sync_hook) | 3392 | if (spec->cap_sync_hook) |
| 3393 | spec->cap_sync_hook(codec, ucontrol); | 3393 | spec->cap_sync_hook(codec, kcontrol, ucontrol); |
| 3394 | 3394 | ||
| 3395 | return ret; | 3395 | return ret; |
| 3396 | } | 3396 | } |
| @@ -3795,7 +3795,7 @@ static int mux_select(struct hda_codec *codec, unsigned int adc_idx, | |||
| 3795 | return 0; | 3795 | return 0; |
| 3796 | snd_hda_activate_path(codec, path, true, false); | 3796 | snd_hda_activate_path(codec, path, true, false); |
| 3797 | if (spec->cap_sync_hook) | 3797 | if (spec->cap_sync_hook) |
| 3798 | spec->cap_sync_hook(codec, NULL); | 3798 | spec->cap_sync_hook(codec, NULL, NULL); |
| 3799 | path_power_down_sync(codec, old_path); | 3799 | path_power_down_sync(codec, old_path); |
| 3800 | return 1; | 3800 | return 1; |
| 3801 | } | 3801 | } |
| @@ -5270,7 +5270,7 @@ static void init_input_src(struct hda_codec *codec) | |||
| 5270 | } | 5270 | } |
| 5271 | 5271 | ||
| 5272 | if (spec->cap_sync_hook) | 5272 | if (spec->cap_sync_hook) |
| 5273 | spec->cap_sync_hook(codec, NULL); | 5273 | spec->cap_sync_hook(codec, NULL, NULL); |
| 5274 | } | 5274 | } |
| 5275 | 5275 | ||
| 5276 | /* set right pin controls for digital I/O */ | 5276 | /* set right pin controls for digital I/O */ |
