diff options
author | Yoann Padioleau <padator@wanadoo.fr> | 2007-07-13 18:33:15 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:11:54 -0400 |
commit | c28054d4b31d78272f65c0d11db0796f50fb9569 (patch) | |
tree | 8af8d9d48ef54e2b9ea9405f522e71db4e02e40a /sound/aoa/codecs | |
parent | ef64adbbba1b215e8b523b50ef9d568b4bf2e1e3 (diff) |
[ALSA] snd-aoa-codec-onyx: fix typo
Parse error in ifdef or bad use of macro.
Signed-off-by: Yoann Padioleau <padator@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/aoa/codecs')
-rw-r--r-- | sound/aoa/codecs/snd-aoa-codec-onyx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/aoa/codecs/snd-aoa-codec-onyx.c b/sound/aoa/codecs/snd-aoa-codec-onyx.c index ded516717940..028852374f21 100644 --- a/sound/aoa/codecs/snd-aoa-codec-onyx.c +++ b/sound/aoa/codecs/snd-aoa-codec-onyx.c | |||
@@ -661,7 +661,7 @@ static struct transfer_info onyx_transfers[] = { | |||
661 | .tag = 2, | 661 | .tag = 2, |
662 | }, | 662 | }, |
663 | #ifdef SNDRV_PCM_FMTBIT_COMPRESSED_16BE | 663 | #ifdef SNDRV_PCM_FMTBIT_COMPRESSED_16BE |
664 | Once alsa gets supports for this kind of thing we can add it... | 664 | /* Once alsa gets supports for this kind of thing we can add it... */ |
665 | { | 665 | { |
666 | /* digital compressed output */ | 666 | /* digital compressed output */ |
667 | .formats = SNDRV_PCM_FMTBIT_COMPRESSED_16BE, | 667 | .formats = SNDRV_PCM_FMTBIT_COMPRESSED_16BE, |
@@ -713,7 +713,7 @@ static int onyx_prepare(struct codec_info_item *cii, | |||
713 | if (substream->runtime->format == SNDRV_PCM_FMTBIT_COMPRESSED_16BE) { | 713 | if (substream->runtime->format == SNDRV_PCM_FMTBIT_COMPRESSED_16BE) { |
714 | /* mute and lock analog output */ | 714 | /* mute and lock analog output */ |
715 | onyx_read_register(onyx, ONYX_REG_DAC_CONTROL, &v); | 715 | onyx_read_register(onyx, ONYX_REG_DAC_CONTROL, &v); |
716 | if (onyx_write_register(onyx | 716 | if (onyx_write_register(onyx, |
717 | ONYX_REG_DAC_CONTROL, | 717 | ONYX_REG_DAC_CONTROL, |
718 | v | ONYX_MUTE_RIGHT | ONYX_MUTE_LEFT)) | 718 | v | ONYX_MUTE_RIGHT | ONYX_MUTE_LEFT)) |
719 | goto out_unlock; | 719 | goto out_unlock; |