[PATCH v4 0/4] Minor SoundWire clean ups

Charles Keepax posted 4 patches 2 years, 9 months ago
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(-)
[PATCH v4 0/4] Minor SoundWire clean ups
Posted by Charles Keepax 2 years, 9 months ago
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(-)

-- 
2.30.2
Re: [PATCH v4 0/4] Minor SoundWire clean ups
Posted by Vinod Koul 2 years, 8 months ago
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

-- 
~Vinod