mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-15 20:51:55 +00:00
This patch adds lock to fix comcurrency between tx/rx
to fix 'rockchip-i2s ff070000.i2s; fail to clear'
Considering the situation;
tx stream rx stream
| |
| disable
enable |
| reset
After this patch:
lock
|
tx stream
|
enable
|
unlock
-------- ---------
lock
|
rx stream
|
disable
|
reset
|
unlock
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1630674434-650-1-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rk3288_hdmi_analog.c | ||
| rk3399_gru_sound.c | ||
| rockchip_i2s.c | ||
| rockchip_i2s.h | ||
| rockchip_max98090.c | ||
| rockchip_pcm.c | ||
| rockchip_pcm.h | ||
| rockchip_pdm.c | ||
| rockchip_pdm.h | ||
| rockchip_rt5645.c | ||
| rockchip_spdif.c | ||
| rockchip_spdif.h | ||