diff options
author | Srinivas Kandagatla <[email protected]> | 2022-07-27 13:47:49 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-07-27 14:46:41 +0100 |
commit | 30097967e0566cac817273ef76add100f6b0f463 (patch) | |
tree | b344fcc3048744dd81f07b0103ba1f9bfdddfb49 /lib/mpi/mpi-sub-ui.c | |
parent | bd1963d837a082e1083cd396803d3d263a9ef68b (diff) |
ASoC: codecs: va-macro: use fsgen as clock
VA Macro fsgen clock is supplied to other LPASS Macros using proper
clock apis, however the internal user uses the registers directly without
clk apis. This approch has race condition where in external users of
the clock might cut the clock while VA macro is actively using this.
Moving the internal usage to clk apis would provide a proper refcounting
and avoid such race conditions.
This issue was noticed while headset was pulled out while recording is
in progress and shifting record patch to DMIC.
Reported-by: Srinivasa Rao Mandadapu <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Tested-by: Srinivasa Rao Mandadapu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions