Skip to contentSkip to conversation

ALSA: hiface: Fix typo in 352800 rate definition

PATCH Applied Michael Trimarchi 2 participants 2 messages Dec 23, 2013 Sound

lore
Share & tools
lore
#0 lore raw

The Vaughan device support the 352800 rate and not the 352000

Cc Takashi Iwai <[email protected]>
Cc Antonio Ospite <[email protected]>
---
 sound/usb/hiface/pcm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
sound/usb/hiface/pcm.c +3 -3
index c21a3df..2c44139 100644
@@ -110,7 +110,7 @@ static const struct snd_pcm_hardware pcm_hw = {
 #define HIFACE_RATE_96000  0x4a
 #define HIFACE_RATE_176400 0x40
 #define HIFACE_RATE_192000 0x48
-#define HIFACE_RATE_352000 0x58
+#define HIFACE_RATE_352800 0x58
 #define HIFACE_RATE_384000 0x68
 
 static int hiface_pcm_set_rate(struct pcm_runtime *rt, unsigned int rate)
@@ -141,8 +141,8 @@ static int hiface_pcm_set_rate(struct pcm_runtime *rt, unsigned int rate)
 	case 192000:
 		rate_value = HIFACE_RATE_192000;
 		break;
-	case 352000:
-		rate_value = HIFACE_RATE_352000;
+	case 352800:
+		rate_value = HIFACE_RATE_352800;
 		break;
 	case 384000:
 		rate_value = HIFACE_RATE_384000;
Signature · 7 lines
1.8.1.2


-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
Applied
#1 lore raw

At Mon, 23 Dec 2013 11:16:43 +0100,

Quoted 7 lines · Michael Trimarchi

The Vaughan device support the 352800 rate and not the 352000

Cc Takashi Iwai <[email protected]>
Cc Antonio Ospite <[email protected]>

Thanks, applied.

Takashi

Quoted 42 lines
---
 sound/usb/hiface/pcm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
sound/usb/hiface/pcm.c +3 -3
index c21a3df..2c44139 100644
@@ -110,7 +110,7 @@ static const struct snd_pcm_hardware pcm_hw = {
 #define HIFACE_RATE_96000  0x4a
 #define HIFACE_RATE_176400 0x40
 #define HIFACE_RATE_192000 0x48
-#define HIFACE_RATE_352000 0x58
+#define HIFACE_RATE_352800 0x58
 #define HIFACE_RATE_384000 0x68
 
 static int hiface_pcm_set_rate(struct pcm_runtime *rt, unsigned int rate)
@@ -141,8 +141,8 @@ static int hiface_pcm_set_rate(struct pcm_runtime *rt, unsigned int rate)
 	case 192000:
 		rate_value = HIFACE_RATE_192000;
 		break;
-	case 352000:
-		rate_value = HIFACE_RATE_352000;
+	case 352800:
+		rate_value = HIFACE_RATE_352800;
 		break;
 	case 384000:
 		rate_value = HIFACE_RATE_384000;
Signature · 11 lines
1.8.1.2


-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel