diff options
author | Sebastien Guiriec <s-guiriec@ti.com> | 2011-10-22 15:13:16 +0200 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:56:18 +0200 |
commit | 8a38ed73c61a9deea90592feae4a99b38436982e (patch) | |
tree | b12cb25b94c3db7405e5587e0a815abf76a2f18b /sound | |
parent | 596756fbf5c0e8f91aaf1f1d8a105370ff766038 (diff) | |
download | kernel_samsung_tuna-8a38ed73c61a9deea90592feae4a99b38436982e.zip kernel_samsung_tuna-8a38ed73c61a9deea90592feae4a99b38436982e.tar.gz kernel_samsung_tuna-8a38ed73c61a9deea90592feae4a99b38436982e.tar.bz2 |
ASoC: TWL6040: Configure Phoenix Audio at 88.2 only for 88.2 kHz
As with new release of ABE firmware the ABE is supporting 44.1kHz
we need to set Phoenix Audio clock to 96 kHz. Today this setting
is not well computed by the driver as it is associated to the
sample frequency
Change-Id: I46f432574f90140809c0ac0b2f393d386cbdb01b
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index b8aabe6..3f28e82 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -1374,6 +1374,7 @@ static unsigned int hp_rates[] = { 8000, 16000, 32000, + 44100, 48000, 96000, }; @@ -1454,13 +1455,13 @@ static int twl6040_hw_params(struct snd_pcm_substream *substream, switch (rate) { case 11250: case 22500: - case 44100: case 88200: sysclk = 17640000; break; case 8000: case 16000: case 32000: + case 44100: case 48000: case 96000: sysclk = 19200000; |