Skip to contentSkip to conversation

minor hdsp patch

PATCH Paul Davis 1 participant 1 message May 14, 2002

lore
Share & tools
lore

Paul Davis

author
#0 lore raw

This corrects the inclusion of a standard include file and a printf format directive.

Index: hdsp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/hdsp.c,v retrieving revision 1.1

hdsp.c 14 May 2002 01:50:27 -0000 renamed from hdsp.c 13 May 2002 09:28:33 -0000 1.1 +2 -2
diff -u -u -r1.1 hdsp.c
@@ -21,7 +21,7 @@
 
 #include <sound/driver.h>
 #include <asm/io.h>
-#include <byteswap.h>
+#include <asm/byteorder.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/slab.h>
@@ -549,7 +549,7 @@
        case HDSP_spdifFrequency88_2KHz: return 88200;
        case HDSP_spdifFrequency96KHz: return 96000;
        default:
-               snd_printk ("unknown frequency status; bits = 0x%d, status = 0x%x", rate_bits, status);
+               snd_printk ("unknown frequency status; bits = 0x%x, status = 0x%x", rate_bits, status);
                return 0;
        }
 }

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]