aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2009-11-17 13:51:01 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-18 13:46:40 +0000
commitbab0212467e58929470ae3ae32515f17e30c3926 (patch)
tree4b278fadcf1ce98b245914d0d9d05aec52551611
parentf3dd70414cdc0203ca63eef83ca130c2d1903b30 (diff)
downloadkernel_samsung_tuna-bab0212467e58929470ae3ae32515f17e30c3926.zip
kernel_samsung_tuna-bab0212467e58929470ae3ae32515f17e30c3926.tar.gz
kernel_samsung_tuna-bab0212467e58929470ae3ae32515f17e30c3926.tar.bz2
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: Anuj Aggarwal <anuj.aggarwal@ti.com> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/tlv320aic23.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
index 0b8dcb5..6b24d8b 100644
--- a/sound/soc/codecs/tlv320aic23.c
+++ b/sound/soc/codecs/tlv320aic23.c
@@ -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*/
};
/*