Re: [PATCH 0/8] ASoC: amd: acp: refactor acp version differentiation logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/09/24 11:45, Vijendar Mukunda wrote:
> Currently different logics being used in the code for acp version
> differentiation. This patch series refactors the code to use acp pci
> revision id for handling acp version specific code.
One more patch is missing in the series.
Will add it and re spin the patch series.
>
> Vijendar Mukunda (8):
>   ASoC: amd: acp: simplify platform conditional checks code
>   ASoC: amd: acp: use acp_rev for platform specific conditional checks
>   ASoC: amd: acp: use acp pci revision id for platform differntiation
>   ASoC: amd: acp: store acp pci rev id in platform driver private
>     structure
>   ASoC: amd: acp: pass acp pci revision id as platform data
>   ASoC: amd: acp: remove unused variable from acp_card_drvdata structure
>   ASoC: amd: acp: replace adata->platform conditional check
>   ASoC: amd: acp: remove unused variable from acp platform driver
>
>  sound/soc/amd/acp/acp-i2s.c           | 38 +++++++++++++--------------
>  sound/soc/amd/acp/acp-legacy-common.c | 24 ++++++++---------
>  sound/soc/amd/acp/acp-legacy-mach.c   |  8 +++---
>  sound/soc/amd/acp/acp-mach-common.c   | 38 +++++++++++++++++++--------
>  sound/soc/amd/acp/acp-mach.h          | 12 +++------
>  sound/soc/amd/acp/acp-pci.c           |  7 +----
>  sound/soc/amd/acp/acp-pdm.c           |  2 +-
>  sound/soc/amd/acp/acp-platform.c      | 14 +++++-----
>  sound/soc/amd/acp/acp-rembrandt.c     |  4 +--
>  sound/soc/amd/acp/acp-renoir.c        |  4 +--
>  sound/soc/amd/acp/acp-sof-mach.c      |  6 ++---
>  sound/soc/amd/acp/acp63.c             |  4 +--
>  sound/soc/amd/acp/acp70.c             | 14 ++++------
>  sound/soc/amd/acp/acp_common.h        | 19 ++++++++++++++
>  sound/soc/amd/acp/amd.h               |  9 ++-----
>  15 files changed, 108 insertions(+), 95 deletions(-)
>  create mode 100644 sound/soc/amd/acp/acp_common.h
>




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux