Index: uspace/drv/audio/hdaudio/hdaudio.c
===================================================================
--- uspace/drv/audio/hdaudio/hdaudio.c	(revision 1433ecda9b732f3f185f902feb26826ec2496e03)
+++ uspace/drv/audio/hdaudio/hdaudio.c	(revision 3cf22f98e8b62fe3239495266885864a48c85a80)
@@ -199,5 +199,5 @@
 
 	ddf_msg(LVL_NOTE, "hda reg base: %" PRIx64,
-	     RNGABS(res.mem_ranges.ranges[0]));
+	    RNGABS(res.mem_ranges.ranges[0]));
 
 	if (hda->rwsize < sizeof(hda_regs_t)) {
@@ -372,5 +372,6 @@
 	hda_t *hda = (hda_t *)ddf_dev_data_get(dev);
 
-	if (0) ddf_msg(LVL_NOTE, "## interrupt ##");
+	if (0)
+		ddf_msg(LVL_NOTE, "## interrupt ##");
 //	ddf_msg(LVL_NOTE, "interrupt arg4=0x%x", (int)IPC_GET_ARG4(*icall));
 	hda_ctl_interrupt(hda->ctl);
Index: uspace/drv/audio/sb16/dsp.c
===================================================================
--- uspace/drv/audio/sb16/dsp.c	(revision 1433ecda9b732f3f185f902feb26826ec2496e03)
+++ uspace/drv/audio/sb16/dsp.c	(revision 3cf22f98e8b62fe3239495266885864a48c85a80)
@@ -63,7 +63,7 @@
 #define AUTO_DMA_MODE
 
-static inline const char * dsp_state_to_str(dsp_state_t state)
-{
-	static const char* state_names[] = {
+static inline const char *dsp_state_to_str(dsp_state_t state)
+{
+	static const char *state_names[] = {
 		[DSP_PLAYBACK_ACTIVE_EVENTS] = "PLAYBACK w/ EVENTS",
 		[DSP_CAPTURE_ACTIVE_EVENTS] = "CAPTURE w/ EVENTS",
@@ -240,6 +240,5 @@
 	    dsp->active.samples / ((dsp->active.mode & DSP_MODE_STEREO) ? 2 : 1);
 
-	switch (dsp->state)
-	{
+	switch (dsp->state) {
 	case DSP_PLAYBACK_ACTIVE_EVENTS:
 		dsp_report_event(dsp, PCM_EVENT_FRAMES_PLAYED);
@@ -277,5 +276,5 @@
 {
 	ddf_log_verbose("Querying cap %s", audio_pcm_cap_str(cap));
-	switch(cap) {
+	switch (cap) {
 	case AUDIO_CAP_CAPTURE:
 	case AUDIO_CAP_PLAYBACK:
@@ -312,5 +311,5 @@
 
 errno_t sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate,
-  pcm_sample_format_t *format)
+    pcm_sample_format_t *format)
 {
 	errno_t ret = EOK;
@@ -346,5 +345,5 @@
 }
 
-async_sess_t * sb_dsp_get_event_session(sb_dsp_t *dsp)
+async_sess_t *sb_dsp_get_event_session(sb_dsp_t *dsp)
 {
 	assert(dsp);
@@ -416,7 +415,7 @@
 	}
 
-	dsp->active.mode = 0
-	    | (pcm_sample_format_is_signed(format) ? DSP_MODE_SIGNED : 0)
-	    | (channels == 2 ? DSP_MODE_STEREO : 0);
+	dsp->active.mode = 0 |
+	    (pcm_sample_format_is_signed(format) ? DSP_MODE_SIGNED : 0) |
+	    (channels == 2 ? DSP_MODE_STEREO : 0);
 	dsp->active.samples = frames * channels;
 	dsp->active.frame_count = 0;
@@ -446,6 +445,5 @@
 	if ((dsp->state == DSP_PLAYBACK_NOEVENTS ||
 	    dsp->state == DSP_PLAYBACK_ACTIVE_EVENTS) &&
-	    immediate)
-	{
+	    immediate) {
 		dsp_write(dsp, DMA_16B_PAUSE);
 		dsp_reset(dsp);
@@ -459,6 +457,5 @@
 		return EOK;
 	}
-	if (dsp->state == DSP_PLAYBACK_ACTIVE_EVENTS)
-	{
+	if (dsp->state == DSP_PLAYBACK_ACTIVE_EVENTS) {
 		/* Stop after current fragment */
 		assert(!immediate);
@@ -494,7 +491,7 @@
 	}
 
-	dsp->active.mode = 0
-	    | (pcm_sample_format_is_signed(format) ? DSP_MODE_SIGNED : 0)
-	    | (channels == 2 ? DSP_MODE_STEREO : 0);
+	dsp->active.mode = 0 |
+	    (pcm_sample_format_is_signed(format) ? DSP_MODE_SIGNED : 0) |
+	    (channels == 2 ? DSP_MODE_STEREO : 0);
 	dsp->active.samples = frames * channels;
 	dsp->active.frame_count = 0;
@@ -522,6 +519,5 @@
 	if ((dsp->state == DSP_CAPTURE_NOEVENTS ||
 	    dsp->state == DSP_CAPTURE_ACTIVE_EVENTS) &&
-	    immediate)
-	{
+	    immediate) {
 		dsp_write(dsp, DMA_16B_PAUSE);
 		dsp_reset(dsp);
@@ -535,6 +531,5 @@
 		return EOK;
 	}
-	if (dsp->state == DSP_CAPTURE_ACTIVE_EVENTS)
-	{
+	if (dsp->state == DSP_CAPTURE_ACTIVE_EVENTS) {
 		/* Stop after current fragment */
 		assert(!immediate);
Index: uspace/drv/audio/sb16/main.c
===================================================================
--- uspace/drv/audio/sb16/main.c	(revision 1433ecda9b732f3f185f902feb26826ec2496e03)
+++ uspace/drv/audio/sb16/main.c	(revision 3cf22f98e8b62fe3239495266885864a48c85a80)
@@ -71,5 +71,5 @@
 int main(int argc, char *argv[])
 {
-	printf(NAME": HelenOS SB16 audio driver.\n");
+	printf(NAME ": HelenOS SB16 audio driver.\n");
 	ddf_log_init(NAME);
 	return ddf_driver_main(&sb_driver);
@@ -191,6 +191,6 @@
 	/* 1x IRQ, 1-2x DMA(8,16), 1-2x IO (MPU is separate). */
 	if (hw_res.irqs.count != 1 ||
-	   (hw_res.io_ranges.count != 1 && hw_res.io_ranges.count != 2) ||
-	   (hw_res.dma_channels.count != 1 && hw_res.dma_channels.count != 2)) {
+	    (hw_res.io_ranges.count != 1 && hw_res.io_ranges.count != 2) ||
+	    (hw_res.dma_channels.count != 1 && hw_res.dma_channels.count != 2)) {
 		hw_res_list_parsed_clean(&hw_res);
 		return EINVAL;
@@ -229,6 +229,6 @@
 	} else {
 		const int sb =
-		    (hw_res.io_ranges.ranges[0].size >= sizeof(sb16_regs_t))
-		        ? 0 : 1;
+		    (hw_res.io_ranges.ranges[0].size >= sizeof(sb16_regs_t)) ?
+		    0 : 1;
 		const int mpu = 1 - sb;
 		if (pp_sb_regs && *pp_sb_regs)
Index: uspace/drv/audio/sb16/mixer.c
===================================================================
--- uspace/drv/audio/sb16/mixer.c	(revision 1433ecda9b732f3f185f902feb26826ec2496e03)
+++ uspace/drv/audio/sb16/mixer.c	(revision 3cf22f98e8b62fe3239495266885864a48c85a80)
@@ -98,18 +98,18 @@
 	[SB_MIXER_UNKNOWN] = { NULL, 0 },
 	[SB_MIXER_CT1335] = {
-	    channels_table_ct1335,
-	    ARRAY_SIZE(channels_table_ct1335),
+		channels_table_ct1335,
+		ARRAY_SIZE(channels_table_ct1335),
 	},
 	[SB_MIXER_CT1345] = {
-	    channels_table_ct1345,
-	    ARRAY_SIZE(channels_table_ct1345),
+		channels_table_ct1345,
+		ARRAY_SIZE(channels_table_ct1345),
 	},
 	[SB_MIXER_CT1745] = {
-	    channels_table_ct1745,
-	    ARRAY_SIZE(channels_table_ct1745),
+		channels_table_ct1745,
+		ARRAY_SIZE(channels_table_ct1745),
 	},
 };
 
-const char * sb_mixer_type_str(sb_mixer_type_t type)
+const char *sb_mixer_type_str(sb_mixer_type_t type)
 {
 	static const char *names[] = {
@@ -150,5 +150,5 @@
 
 errno_t sb_mixer_get_control_item_info(const sb_mixer_t *mixer, unsigned item,
-    const char** name, unsigned *levels)
+    const char **name, unsigned *levels)
 {
 	assert(mixer);
@@ -182,6 +182,6 @@
 	const channel_t *chan = &volume_table[mixer->type].table[item];
 	pio_write_8(&mixer->regs->mixer_address, chan->address);
-	*value = (pio_read_8(&mixer->regs->mixer_data) >> chan->shift)
-	    & (chan->volume_levels - 1);
+	*value = (pio_read_8(&mixer->regs->mixer_data) >> chan->shift) &
+	    (chan->volume_levels - 1);
 	return EOK;
 }
