summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2018-08-13 12:43:38 +0300
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit335366971a0676d620ad1a7caa44ad374344cae0 (patch)
tree67a8c9cad91f92e70fcaa7188089acdf8a34cb0c /sound/soc
parente0992cc8f2f19453b32c6a58456f930a5b68fb36 (diff)
MLK-19211: ASoC: ak4458: enable 352800 and 705600 rates
Add missing 352800 and 705600 rates. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/ak4458.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c
index 9f010fb3c064..752fc5706b20 100644
--- a/sound/soc/codecs/ak4458.c
+++ b/sound/soc/codecs/ak4458.c
@@ -682,10 +682,12 @@ static int ak4458_hw_params(struct snd_pcm_substream *substream,
dfs1 |= AK4458_DFS01_192KHZ;
dfs2 |= AK4458_DFS2__192KHZ;
break;
+ case 352800:
case 384000:
dfs1 |= AK4458_DFS01_384KHZ;
dfs2 |= AK4458_DFS2__384KHZ;
break;
+ case 705600:
case 768000:
dfs1 |= AK4458_DFS01_768KHZ;
dfs2 |= AK4458_DFS2__768KHZ;