mbox series

[v4,0/4] Minor SoundWire clean ups

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

Message

Charles Keepax Nov. 25, 2022, 2:20 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 v3:
 - Return an error and add a WARN_ONCE if the build stubs are used.

Changes since v2:
 - Fix up a memory leak of a buffer on the error path
 - Added some reviewed by's

Thanks,
Charles

*** BLURB HERE ***

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   |  13 ++++-
 drivers/soundwire/stream.c    |  30 +++++-----
 include/linux/soundwire/sdw.h | 107 ++++++++++++++++++++++++++++++----
 4 files changed, 129 insertions(+), 31 deletions(-)

Comments

Vinod Koul Jan. 9, 2023, 4:16 p.m. UTC | #1
On 25-11-22, 14:20, Charles Keepax wrote:
> 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.

Applied, thanks

> 
> Changes since v3:
>  - Return an error and add a WARN_ONCE if the build stubs are used.
> 
> Changes since v2:
>  - Fix up a memory leak of a buffer on the error path
>  - Added some reviewed by's
> 
> Thanks,
> Charles
> 
> *** BLURB HERE ***

oops :)

 
> 
> 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   |  13 ++++-
>  drivers/soundwire/stream.c    |  30 +++++-----
>  include/linux/soundwire/sdw.h | 107 ++++++++++++++++++++++++++++++----
>  4 files changed, 129 insertions(+), 31 deletions(-)
> 
> -- 
> 2.30.2