[ALSA] RME HDSP - fixed proc interface (missing {})
authorRemy Bruno <remy.bruno@trinnov.com>
Mon, 12 Jun 2006 07:25:22 +0000 (09:25 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:34:19 +0000 (21:34 +0200)
From: Remy Bruno <remy.bruno@trinnov.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/rme9652/hdsp.c

index bf89ab9e3138b9eae10bf33556c7b6edae162dd5..eaf3c22449ad62e2ff02f2c0650694b8ce2942e8 100644 (file)
@@ -3169,9 +3169,10 @@ snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
        char *clock_source;
        int x;
 
-       if (hdsp_check_for_iobox (hdsp))
+       if (hdsp_check_for_iobox (hdsp)) {
                snd_iprintf(buffer, "No I/O box connected.\nPlease connect one and upload firmware.\n");
                return;
+        }
 
        if (hdsp_check_for_firmware(hdsp, 0)) {
                if (hdsp->state & HDSP_FirmwareCached) {