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

Commit bab02124 authored by Troy Kisky's avatar Troy Kisky Committed by Mark Brown
Browse files

ASoC: tlv320aic23 fix rate selection



Fix the ordering of sr_valid_mask array.
The lower bit of the index represents USB
not bosr.

Reported-by: default avatarAnuj Aggarwal <anuj.aggarwal@ti.com>
Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f3dd7041
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,8 +265,8 @@ static const int bosr_usb_divisor_table[] = {
#define UPPER_GROUP ((1<<8) | (1<<9) | (1<<10) | (1<<11)        | (1<<15))
static const unsigned short sr_valid_mask[] = {
	LOWER_GROUP|UPPER_GROUP,	/* Normal, bosr - 0*/
	LOWER_GROUP|UPPER_GROUP,	/* Normal, bosr - 1*/
	LOWER_GROUP,			/* Usb, bosr - 0*/
	LOWER_GROUP|UPPER_GROUP,	/* Normal, bosr - 1*/
	UPPER_GROUP,			/* Usb, bosr - 1*/
};
/*