[PATCH] [UBUNTU:sound/pci/rme9652/] Fix missing /proc interface for RME HDSP

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Sun Oct 29 23:09:13 UTC 2006


From b33ac32aebefd50c8d6436156cbf86ca114e10a8 Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Sun, 29 Oct 2006 17:56:58 -0500
Subject: [PATCH] [UBUNTU:sound/pci/rme9652/] Fix missing /proc interface for RME HDSP

UpstreamStatus: Added in upstream alsa-kernel hg changeset:
		4286: 3e23ffea48d8 [http://hg-mirror.alsa-project.org/alsa-kernel?cs=3e23ffea48d8;style=raw ]

Missing braces caused the /proc interface to go AWOL.

This commit is applicable to Dapper and Edgy linux-source.

Signed-off-by: Remy Bruno <remy.bruno at trinnov.com>
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
 sound/pci/rme9652/hdsp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index 848b2c8..d06937f 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -3188,9 +3188,10 @@ snd_hdsp_proc_read(snd_info_entry_t *ent
 	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) {
-- 
1.4.1


-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:  0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20061029/74d2b03f/attachment.sig>


More information about the kernel-team mailing list