Commit e214e518 authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai

sound/sb_ess: white space cleanups

These weren't aligned on the same lines as the surrounding code and the
printk was quite messy.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent df403869
...@@ -604,7 +604,7 @@ static void ess_audio_output_block_audio2 ...@@ -604,7 +604,7 @@ static void ess_audio_output_block_audio2
ess_chgmixer (devc, 0x78, 0x03, 0x03); /* Go */ ess_chgmixer (devc, 0x78, 0x03, 0x03); /* Go */
devc->irq_mode_16 = IMODE_OUTPUT; devc->irq_mode_16 = IMODE_OUTPUT;
devc->intr_active_16 = 1; devc->intr_active_16 = 1;
} }
static void ess_audio_output_block static void ess_audio_output_block
...@@ -1183,17 +1183,12 @@ FKS_test (devc); ...@@ -1183,17 +1183,12 @@ FKS_test (devc);
chip = "ES1688"; chip = "ES1688";
} }
printk ( KERN_INFO "ESS chip %s %s%s\n" printk(KERN_INFO "ESS chip %s %s%s\n", chip,
, chip (devc->sbmo.esstype == ESSTYPE_DETECT ||
, ( devc->sbmo.esstype == ESSTYPE_DETECT || devc->sbmo.esstype == ESSTYPE_LIKE20 devc->sbmo.esstype == ESSTYPE_LIKE20) ?
? "detected" "detected" : "specified",
: "specified" devc->sbmo.esstype == ESSTYPE_LIKE20 ?
) " (kernel 2.0 compatible)" : "");
, ( devc->sbmo.esstype == ESSTYPE_LIKE20
? " (kernel 2.0 compatible)"
: ""
)
);
sprintf(name,"ESS %s AudioDrive (rev %d)", chip, ess_minor & 0x0f); sprintf(name,"ESS %s AudioDrive (rev %d)", chip, ess_minor & 0x0f);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment