diff options
| author | Sugar Zhang <[email protected]> | 2021-09-03 21:07:14 +0800 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-09-03 16:19:01 +0100 | 
| commit | fcb958ee8e832e9cdf43408535207e15f14af755 (patch) | |
| tree | 7e73f5dab66462ea741b812989238ecf0f191317 /drivers/fpga/zynq-fpga.c | |
| parent | 7eac1e24fbf6c56c9e3be302748ae73104bb40bd (diff) | |
ASoC: rockchip: i2s: Fix concurrency between tx/rx
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions