From 22936f06050e3eb35b2dc40aecd204018d5d0d30 Mon Sep 17 00:00:00 2001 From: Yoann Padioleau Date: Sat, 14 Jul 2007 00:33:15 +0200 Subject: [PATCH] --- yaml --- r: 62120 b: refs/heads/master c: c28054d4b31d78272f65c0d11db0796f50fb9569 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/aoa/codecs/snd-aoa-codec-onyx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 1155b932fb0f..621d7cae40ad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ef64adbbba1b215e8b523b50ef9d568b4bf2e1e3 +refs/heads/master: c28054d4b31d78272f65c0d11db0796f50fb9569 diff --git a/trunk/sound/aoa/codecs/snd-aoa-codec-onyx.c b/trunk/sound/aoa/codecs/snd-aoa-codec-onyx.c index ded516717940..028852374f21 100644 --- a/trunk/sound/aoa/codecs/snd-aoa-codec-onyx.c +++ b/trunk/sound/aoa/codecs/snd-aoa-codec-onyx.c @@ -661,7 +661,7 @@ static struct transfer_info onyx_transfers[] = { .tag = 2, }, #ifdef SNDRV_PCM_FMTBIT_COMPRESSED_16BE -Once alsa gets supports for this kind of thing we can add it... + /* Once alsa gets supports for this kind of thing we can add it... */ { /* digital compressed output */ .formats = SNDRV_PCM_FMTBIT_COMPRESSED_16BE, @@ -713,7 +713,7 @@ static int onyx_prepare(struct codec_info_item *cii, if (substream->runtime->format == SNDRV_PCM_FMTBIT_COMPRESSED_16BE) { /* mute and lock analog output */ onyx_read_register(onyx, ONYX_REG_DAC_CONTROL, &v); - if (onyx_write_register(onyx + if (onyx_write_register(onyx, ONYX_REG_DAC_CONTROL, v | ONYX_MUTE_RIGHT | ONYX_MUTE_LEFT)) goto out_unlock;