aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-09-12 09:19:20 -0400
committerTakashi Iwai <tiwai@suse.de>2012-09-12 09:19:23 -0400
commit7e8d613b536446139d93c956bb59f25aa934c520 (patch)
tree0d10914faad4dc6d600550acde698e3100631184 /sound/pci/ctxfi
parent2dc6fbf0078e8148b571f1bbec704ca5c8e2ec2c (diff)
ALSA: ctxfi: Fix mono channel map to UNKNOWN
To follow the previous commit. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi')
-rw-r--r--sound/pci/ctxfi/ctpcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/ctpcm.c b/sound/pci/ctxfi/ctpcm.c
index 6c191429b126..d317107d98cc 100644
--- a/sound/pci/ctxfi/ctpcm.c
+++ b/sound/pci/ctxfi/ctpcm.c
@@ -397,7 +397,7 @@ static struct snd_pcm_ops ct_pcm_capture_ops = {
397 397
398static const struct snd_pcm_chmap_elem surround_map[] = { 398static const struct snd_pcm_chmap_elem surround_map[] = {
399 { .channels = 1, 399 { .channels = 1,
400 .map = { SNDRV_CHMAP_RC } }, 400 .map = { SNDRV_CHMAP_UNKNOWN } },
401 { .channels = 2, 401 { .channels = 2,
402 .map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } }, 402 .map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
403 { } 403 { }
@@ -405,7 +405,7 @@ static const struct snd_pcm_chmap_elem surround_map[] = {
405 405
406static const struct snd_pcm_chmap_elem clfe_map[] = { 406static const struct snd_pcm_chmap_elem clfe_map[] = {
407 { .channels = 1, 407 { .channels = 1,
408 .map = { SNDRV_CHMAP_FC } }, 408 .map = { SNDRV_CHMAP_UNKNOWN } },
409 { .channels = 2, 409 { .channels = 2,
410 .map = { SNDRV_CHMAP_FC, SNDRV_CHMAP_LFE } }, 410 .map = { SNDRV_CHMAP_FC, SNDRV_CHMAP_LFE } },
411 { } 411 { }
@@ -413,7 +413,7 @@ static const struct snd_pcm_chmap_elem clfe_map[] = {
413 413
414static const struct snd_pcm_chmap_elem side_map[] = { 414static const struct snd_pcm_chmap_elem side_map[] = {
415 { .channels = 1, 415 { .channels = 1,
416 .map = { SNDRV_CHMAP_RC } }, 416 .map = { SNDRV_CHMAP_UNKNOWN } },
417 { .channels = 2, 417 { .channels = 2,
418 .map = { SNDRV_CHMAP_SL, SNDRV_CHMAP_SR } }, 418 .map = { SNDRV_CHMAP_SL, SNDRV_CHMAP_SR } },
419 { } 419 { }