projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0102eed
)
ASoC: rsnd: CMD TIMSEL support for Capture
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Mon, 7 Mar 2016 05:09:34 +0000
(
05:09
+0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 7 Mar 2016 07:41:54 +0000
(14:41 +0700)
CMD.out should use same as SRC.out for TIMSEL settings,
but it cares Playback case only. This patch fixup it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sh/rcar/adg.c
b/sound/soc/sh/rcar/adg.c
index f7e164c89f33927838c4c2fa11e0f603b93711e5..606399de684d72c26550bdca02d36b07cd7015d1 100644
(file)
--- a/
sound/soc/sh/rcar/adg.c
+++ b/
sound/soc/sh/rcar/adg.c
@@
-202,7
+202,10
@@
int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *cmd_mod,
int shift = (id % 2) ? 16 : 0;
u32 mask, val;
- val = rsnd_adg_ssi_ws_timing_gen2(io);
+ rsnd_adg_get_timesel_ratio(priv, io,
+ rsnd_src_get_in_rate(priv, io),
+ rsnd_src_get_out_rate(priv, io),
+ NULL, &val, NULL);
val = val << shift;
mask = 0xffff << shift;