summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-09-12 15:19:20 +0200
committerTakashi Iwai <tiwai@suse.de>2012-09-12 15:19:23 +0200
commit7e8d613b536446139d93c956bb59f25aa934c520 (patch)
tree0d10914faad4dc6d600550acde698e3100631184 /sound/pci/ctxfi
parent2dc6fbf0078e8148b571f1bbec704ca5c8e2ec2c (diff)
downloadop-kernel-dev-7e8d613b536446139d93c956bb59f25aa934c520.zip
op-kernel-dev-7e8d613b536446139d93c956bb59f25aa934c520.tar.gz
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 6c19142..d317107 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 = {
static const struct snd_pcm_chmap_elem surround_map[] = {
{ .channels = 1,
- .map = { SNDRV_CHMAP_RC } },
+ .map = { SNDRV_CHMAP_UNKNOWN } },
{ .channels = 2,
.map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
{ }
@@ -405,7 +405,7 @@ static const struct snd_pcm_chmap_elem surround_map[] = {
static const struct snd_pcm_chmap_elem clfe_map[] = {
{ .channels = 1,
- .map = { SNDRV_CHMAP_FC } },
+ .map = { SNDRV_CHMAP_UNKNOWN } },
{ .channels = 2,
.map = { SNDRV_CHMAP_FC, SNDRV_CHMAP_LFE } },
{ }
@@ -413,7 +413,7 @@ static const struct snd_pcm_chmap_elem clfe_map[] = {
static const struct snd_pcm_chmap_elem side_map[] = {
{ .channels = 1,
- .map = { SNDRV_CHMAP_RC } },
+ .map = { SNDRV_CHMAP_UNKNOWN } },
{ .channels = 2,
.map = { SNDRV_CHMAP_SL, SNDRV_CHMAP_SR } },
{ }
OpenPOWER on IntegriCloud