[PATCH] [UBUNTU:sound/pci/ice1712/] Fix typo in sampling rate (16000 not 1600)

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Thu Aug 17 06:13:46 UTC 2006


From c40d75cb6532ee59d8a30199aa8d0034eac5f1a0 Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Thu, 17 Aug 2006 00:39:23 -0400
Subject: [PATCH] [UBUNTU:sound/pci/ice1712/] Fix typo in sampling rate (16000 not 1600)

UpstreamStatus: Added in upstream alsa-kernel hg changeset:
		cee405b34d9e [http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=cee405b34d9eb4c78f229e6d5a9f78725cc8d720;style=raw]

This commit from Jaroslav Kysela corrects a typo in the ice1712 driver
regarding the sampling rate.

Suitable for application to both Dapper and Edgy linux-source.

Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
 sound/pci/ice1712/ice1712.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index e032239..3600261 100644
--- a/sound/pci/ice1712/ice1712.c
+++ b/sound/pci/ice1712/ice1712.c
@@ -1879,7 +1879,7 @@ static int snd_ice1712_pro_internal_cloc
 {
 	ice1712_t *ice = snd_kcontrol_chip(kcontrol);
 	static unsigned int xrate[13] = {
-		8000, 9600, 11025, 12000, 1600, 22050, 24000,
+		8000, 9600, 11025, 12000, 16000, 22050, 24000,
 		32000, 44100, 48000, 64000, 88200, 96000
 	};
 	unsigned char oval;
@@ -1946,7 +1946,7 @@ static int snd_ice1712_pro_internal_cloc
 {
 	int val;
 	static unsigned int xrate[13] = {
-		8000, 9600, 11025, 12000, 1600, 22050, 24000,
+		8000, 9600, 11025, 12000, 16000, 22050, 24000,
 		32000, 44100, 48000, 64000, 88200, 96000
 	};
 
@@ -1963,7 +1963,7 @@ static int snd_ice1712_pro_internal_cloc
 						      snd_ctl_elem_value_t * ucontrol)
 {
 	static unsigned int xrate[13] = {
-		8000, 9600, 11025, 12000, 1600, 22050, 24000,
+		8000, 9600, 11025, 12000, 16000, 22050, 24000,
 		32000, 44100, 48000, 64000, 88200, 96000
 	};
 	unsigned char oval;
-- 
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/20060816/32359cf7/attachment.sig>


More information about the kernel-team mailing list