summaryrefslogtreecommitdiff
path: root/sound/usb/hiface/pcm.c
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2013-12-23 10:16:43 (GMT)
committerTakashi Iwai <tiwai@suse.de>2013-12-23 10:47:29 (GMT)
commit150116bcfbd9004f01e682535baddaca2b90d3b2 (patch)
tree8e3ddc6f6c8962156e93b216d3e4c359a1b33802 /sound/usb/hiface/pcm.c
parent356f402da0f989b16e4b6849e88dba5df0e25944 (diff)
downloadlinux-150116bcfbd9004f01e682535baddaca2b90d3b2.tar.xz
ALSA: hiface: Fix typo in 352800 rate definition
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>
Diffstat (limited to 'sound/usb/hiface/pcm.c')
-rw-r--r--sound/usb/hiface/pcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/usb/hiface/pcm.c b/sound/usb/hiface/pcm.c
index c21a3df..2c44139 100644
--- a/sound/usb/hiface/pcm.c
+++ b/sound/usb/hiface/pcm.c
@@ -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;