mbox series

[0/3] soundwire: cadence: Fix oversized FIFO size define

Message ID 20221201134845.4055907-1-rf@opensource.cirrus.com
Headers show
Series soundwire: cadence: Fix oversized FIFO size define | expand

Message

Richard Fitzgerald Dec. 1, 2022, 1:48 p.m. UTC
As determined by experimentation and asking a hardware person, the FIFO
in the Cadence IP is actually only 8 entries long, not 32. This is fixed
in patch #1.

As a bonus, patches #2 and #3 fix two other things I noticed while
debugging this.

Richard Fitzgerald (3):
  soundwire: cadence: Don't overflow the command FIFOs
  soundwire: cadence: Remove wasted space in response_buf
  soundwire: cadence: Drain the RX FIFO after an IO timeout

 drivers/soundwire/cadence_master.c | 45 +++++++++++++++++++-----------
 drivers/soundwire/cadence_master.h |  2 +-
 2 files changed, 29 insertions(+), 18 deletions(-)