diff options
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/dummy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index ffeafaf2ecca..73b16134a434 100644 --- a/sound/drivers/dummy.c +++ b/sound/drivers/dummy.c | |||
@@ -285,7 +285,7 @@ static struct snd_pcm_hardware snd_card_dummy_playback = | |||
285 | .channels_max = USE_CHANNELS_MAX, | 285 | .channels_max = USE_CHANNELS_MAX, |
286 | .buffer_bytes_max = MAX_BUFFER_SIZE, | 286 | .buffer_bytes_max = MAX_BUFFER_SIZE, |
287 | .period_bytes_min = 64, | 287 | .period_bytes_min = 64, |
288 | .period_bytes_max = MAX_BUFFER_SIZE, | 288 | .period_bytes_max = MAX_PERIOD_SIZE, |
289 | .periods_min = USE_PERIODS_MIN, | 289 | .periods_min = USE_PERIODS_MIN, |
290 | .periods_max = USE_PERIODS_MAX, | 290 | .periods_max = USE_PERIODS_MAX, |
291 | .fifo_size = 0, | 291 | .fifo_size = 0, |
@@ -547,13 +547,13 @@ static struct snd_kcontrol_new snd_dummy_controls[] = { | |||
547 | DUMMY_VOLUME("Master Volume", 0, MIXER_ADDR_MASTER), | 547 | DUMMY_VOLUME("Master Volume", 0, MIXER_ADDR_MASTER), |
548 | DUMMY_CAPSRC("Master Capture Switch", 0, MIXER_ADDR_MASTER), | 548 | DUMMY_CAPSRC("Master Capture Switch", 0, MIXER_ADDR_MASTER), |
549 | DUMMY_VOLUME("Synth Volume", 0, MIXER_ADDR_SYNTH), | 549 | DUMMY_VOLUME("Synth Volume", 0, MIXER_ADDR_SYNTH), |
550 | DUMMY_CAPSRC("Synth Capture Switch", 0, MIXER_ADDR_MASTER), | 550 | DUMMY_CAPSRC("Synth Capture Switch", 0, MIXER_ADDR_SYNTH), |
551 | DUMMY_VOLUME("Line Volume", 0, MIXER_ADDR_LINE), | 551 | DUMMY_VOLUME("Line Volume", 0, MIXER_ADDR_LINE), |
552 | DUMMY_CAPSRC("Line Capture Switch", 0, MIXER_ADDR_MASTER), | 552 | DUMMY_CAPSRC("Line Capture Switch", 0, MIXER_ADDR_LINE), |
553 | DUMMY_VOLUME("Mic Volume", 0, MIXER_ADDR_MIC), | 553 | DUMMY_VOLUME("Mic Volume", 0, MIXER_ADDR_MIC), |
554 | DUMMY_CAPSRC("Mic Capture Switch", 0, MIXER_ADDR_MASTER), | 554 | DUMMY_CAPSRC("Mic Capture Switch", 0, MIXER_ADDR_MIC), |
555 | DUMMY_VOLUME("CD Volume", 0, MIXER_ADDR_CD), | 555 | DUMMY_VOLUME("CD Volume", 0, MIXER_ADDR_CD), |
556 | DUMMY_CAPSRC("CD Capture Switch", 0, MIXER_ADDR_MASTER) | 556 | DUMMY_CAPSRC("CD Capture Switch", 0, MIXER_ADDR_CD) |
557 | }; | 557 | }; |
558 | 558 | ||
559 | static int __init snd_card_dummy_new_mixer(struct snd_dummy *dummy) | 559 | static int __init snd_card_dummy_new_mixer(struct snd_dummy *dummy) |