Skip to content

Commit

Permalink
ALSA: hiface: Fix typo in 352800 rate definition
Browse files Browse the repository at this point in the history
The Vaughan device support the 352800 rate and not
the 352000

Signed-off-by: Michael Trimarchi <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
panicking authored and tiwai committed Dec 23, 2013
1 parent 356f402 commit 150116b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/usb/hiface/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 150116b

Please sign in to comment.