ALSA: hiface: Fix typo in 352800 rate definition
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 23 Dec 2013 10:16:43 +0000 (11:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Dec 2013 10:47:29 +0000 (11:47 +0100)
The Vaughan device support the 352800 rate and not
the 352000

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/hiface/pcm.c

index c21a3df9a0df1ef6900a468ee7af36ad7b57ab19..2c44139b404188607fc47e863aa9b33419ae5fcc 100644 (file)
@@ -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;