diff options
| -rw-r--r-- | sound/firewire/bebob/bebob_maudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/bebob/bebob_maudio.c b/sound/firewire/bebob/bebob_maudio.c index 6af50eb80ea7..fc470c60e433 100644 --- a/sound/firewire/bebob/bebob_maudio.c +++ b/sound/firewire/bebob/bebob_maudio.c | |||
| @@ -379,12 +379,12 @@ static int special_clk_ctl_put(struct snd_kcontrol *kctl, | |||
| 379 | struct special_params *params = bebob->maudio_special_quirk; | 379 | struct special_params *params = bebob->maudio_special_quirk; |
| 380 | int err, id; | 380 | int err, id; |
| 381 | 381 | ||
| 382 | mutex_lock(&bebob->mutex); | ||
| 383 | |||
| 384 | id = uval->value.enumerated.item[0]; | 382 | id = uval->value.enumerated.item[0]; |
| 385 | if (id >= ARRAY_SIZE(special_clk_labels)) | 383 | if (id >= ARRAY_SIZE(special_clk_labels)) |
| 386 | return 0; | 384 | return 0; |
| 387 | 385 | ||
| 386 | mutex_lock(&bebob->mutex); | ||
| 387 | |||
| 388 | err = avc_maudio_set_special_clk(bebob, id, | 388 | err = avc_maudio_set_special_clk(bebob, id, |
| 389 | params->dig_in_fmt, | 389 | params->dig_in_fmt, |
| 390 | params->dig_out_fmt, | 390 | params->dig_out_fmt, |
