aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2022-10-26 11:02:06 +0000
committerVinod Koul <[email protected]>2022-10-28 11:30:38 +0000
commit49a467310dc4fae591a3547860ee04d8730780f4 (patch)
tree1f7078d91b248cec5b473bf5af426e2739595a67 /drivers/platform/x86/intel/pmt/class.c
parentsoundwire: qcom: reinit broadcast completion (diff)
downloadkernel-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