Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 150116bc authored by Michael Trimarchi's avatar Michael Trimarchi Committed by Takashi Iwai
Browse files

ALSA: hiface: Fix typo in 352800 rate definition



The Vaughan device support the 352800 rate and not
the 352000

Signed-off-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 356f402d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;