aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2019-08-06 12:45:38 +0900
committerMark Brown <[email protected]>2019-08-07 14:17:47 +0100
commit06e8f5c842f2dbb232897ba967ea7b422745c271 (patch)
tree212e88aa7cab3d6ce770563c0a8876fbed777e0a /lib/test_overflow.c
parent7c0767643f3b6b0dd2cda923ae37a18590d431cf (diff)
ASoC: rsnd: don't call clk_get_rate() under atomic context
ADG is using clk_get_rate() under atomic context, thus, we might have scheduling issue. To avoid this issue, we need to get/keep clk rate under non atomic context. We need to handle ADG as special device at Renesas Sound driver. From SW point of view, we want to impletent it as rsnd_mod_ops :: prepare, but it makes code just complicate. To avoid complicated code/patch, this patch adds new clk_rate[] array, and keep clk IN rate when rsnd_adg_clk_enable() was called. Reported-by: Leon Kong <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Tested-by: Leon Kong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions