Skip to content

Commit c28054d

Browse files
Yoann PadioleauJaroslav Kysela
authored andcommitted
[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>
1 parent ef64adb commit c28054d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sound/aoa/codecs/snd-aoa-codec-onyx.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ static struct transfer_info onyx_transfers[] = {
661661
.tag = 2,
662662
},
663663
#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... */
665665
{
666666
/* digital compressed output */
667667
.formats = SNDRV_PCM_FMTBIT_COMPRESSED_16BE,
@@ -713,7 +713,7 @@ static int onyx_prepare(struct codec_info_item *cii,
713713
if (substream->runtime->format == SNDRV_PCM_FMTBIT_COMPRESSED_16BE) {
714714
/* mute and lock analog output */
715715
onyx_read_register(onyx, ONYX_REG_DAC_CONTROL, &v);
716-
if (onyx_write_register(onyx
716+
if (onyx_write_register(onyx,
717717
ONYX_REG_DAC_CONTROL,
718718
v | ONYX_MUTE_RIGHT | ONYX_MUTE_LEFT))
719719
goto out_unlock;

0 commit comments

Comments
 (0)