Skip to content

soundwire: only clear valid interrupts

Bard Liao alsa-devel lkml 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5soundwire: bus: add comments to explain interrupt loop filterdrivers/soundwire/bus.c+6 -10 replies
2/5soundwire: bus: reset slave_notify status at each loopdrivers/soundwire/bus.c+3 -10 replies
3/5soundwire: registers: add definitions for clearable interrupt fieldsinclude/linux/soundwire/sdw_registers.h+11 -00 replies
4/5soundwire: bus: only clear valid DP0 interruptsdrivers/soundwire/bus.c+5 -30 replies
5/5soundwire: bus: only clear valid DPN interruptsdrivers/soundwire/bus.c+5 -30 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGuennadi Liakhovetski
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] soundwire: only clear valid interrupts

We wrote 1 to the handled interrupts bits along with 0 to all other bits to the SoundWire DPx interrupt register. However, DP0 has reserved fields and the read-only SDCA_CASCADE bit. DPN also has reserved fields. We should not try to write values in these fields.
Besides, we deal with pending interrupts in a loop but we didn't reset the slave_notify status.

Pierre-Louis Bossart (5):
soundwire: bus: add comments to explain interrupt loop filter
soundwire: bus: reset slave_notify status at each loop
soundwire: registers: add definitions for clearable interrupt fields
soundwire: bus: only clear valid DP0 interrupts
soundwire: bus: only clear valid DPN interrupts

 drivers/soundwire/bus.c                 | 27 +++++++++++++++++--------
 include/linux/soundwire/sdw_registers.h | 11 ++++++++++
 2 files changed, 30 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1