mbox series

[v2,0/4] Minor SoundWire clean ups

Message ID 20221117141727.3031503-1-ckeepax@opensource.cirrus.com (mailing list archive)
Headers show
Series Minor SoundWire clean ups | expand

Message

Charles Keepax Nov. 17, 2022, 2:17 p.m. UTC
Just some minor tidy ups and preparation for starting to upstream some
Cirrus SoundWire devices. The first three patches are pretty trivial,
the last patch which moves the remaining core over to using the no_pm
functions could probably use some careful review.

Changes since v1:
 - Update commit message on the debugfs to more explicitly mention the
   PM runtime reference, rather than implying the PM would turn on/off
   each time.
 - Added some reviewed by's

Thanks,
Charles

Charles Keepax (3):
  soundwire: Provide build stubs for common functions
  soundwire: debugfs: Switch to sdw_read_no_pm
  soundwire: stream: Move remaining register accesses over to no_pm

Simon Trimmer (1):
  soundwire: bus: export sdw_nwrite_no_pm and sdw_nread_no_pm functions

 drivers/soundwire/bus.c       | 10 ++--
 drivers/soundwire/debugfs.c   | 11 +++-
 drivers/soundwire/stream.c    | 30 +++++------
 include/linux/soundwire/sdw.h | 94 +++++++++++++++++++++++++++++++----
 4 files changed, 114 insertions(+), 31 deletions(-)