diff options
| author | Srinivas Kandagatla <[email protected]> | 2022-10-26 11:02:06 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-10-28 11:30:38 +0000 |
| commit | 49a467310dc4fae591a3547860ee04d8730780f4 (patch) | |
| tree | 1f7078d91b248cec5b473bf5af426e2739595a67 /drivers/platform/x86/intel/pmt/class.c | |
| parent | soundwire: qcom: reinit broadcast completion (diff) | |
| download | kernel-49a467310dc4fae591a3547860ee04d8730780f4.tar.gz kernel-49a467310dc4fae591a3547860ee04d8730780f4.zip | |
soundwire: qcom: check for outanding writes before doing a read
Reading will increase the fifo count, so check for outstanding cmd wrt.
write fifo depth to avoid overflow as read will also increase
write fifo cnt.
Fixes: a661308c34de ("soundwire: qcom: wait for fifo space to be available before read/write")
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
