ASoC: amd: fix ACP version typo mistake
Subsystems (3)
PATCH 1/1 ASoC: amd: fix ACP version typo mistake
From: syed saba kareem <[email protected]>
Pink Sardine is based on ACP6.3 architecture. This patch fixes the typo mistake acp6.2 -> acp6.3
---
...offset_byte.h => acp63_chip_offset_byte.h} | 2 +-
sound/soc/amd/Kconfig | 4 +-
sound/soc/amd/ps/{acp62.h => acp63.h} | 10 +-
sound/soc/amd/ps/pci-ps.c | 132 ++++++------
sound/soc/amd/ps/ps-mach.c | 30 +--
sound/soc/amd/ps/ps-pdm-dma.c | 188 +++++++++---------
6 files changed, 183 insertions(+), 183 deletions(-)
rename include/sound/{acp62_chip_offset_byte.h => acp63_chip_offset_byte.h} (99%)
rename sound/soc/amd/ps/{acp62.h => acp63.h} (90%)include/sound/acp63_chip_offset_byte.h renamed from include/sound/acp62_chip_offset_byte.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0+ */ /* -* AMD ACP 6.2 Register Documentation +* AMD ACP 6.3 Register Documentation * * Copyright 2022 Advanced Micro Devices, Inc. */
sound/soc/amd/Kconfig +2 -2
@@ -129,10 +129,10 @@ config SND_SOC_AMD_RPL_ACP6x If unsure select "N". config SND_SOC_AMD_PS - tristate "AMD Audio Coprocessor-v6.2 Pink Sardine support" + tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support" depends on X86 && PCI && ACPI help - This option enables Audio Coprocessor i.e ACP v6.2 support on + This option enables Audio Coprocessor i.e ACP v6.3 support on AMD Pink sardine platform. By enabling this flag build will be triggered for ACP PCI driver, ACP PDM DMA driver. Say m if you have such a device.
sound/soc/amd/ps/acp63.h renamed from sound/soc/amd/ps/acp62.h +5 -5
@@ -5,7 +5,7 @@* Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved. */ -#include <sound/acp62_chip_offset_byte.h> +#include <sound/acp63_chip_offset_byte.h> #define ACP_DEVICE_ID 0x15E2#define ACP6x_REG_START 0x1240000
@@ -78,21 +78,21 @@ struct pdm_stream_instance {u16 channels;dma_addr_t dma_addr;u64 bytescount; -void __iomem *acp62_base; +void __iomem *acp63_base; };struct pdm_dev_data {u32 pdm_irq; -void __iomem *acp62_base; +void __iomem *acp63_base;struct snd_pcm_substream *capture_stream; }; -static inline u32 acp62_readl (void __iomem *base_addr) +static inline u32 acp63_readl (void __iomem *base_addr) {return readl (base_addr); } -static inline void acp62_writel (u32 val,void __iomem *base_addr) +static inline void acp63_writel (u32 val,void __iomem *base_addr) {writel (val, base_addr); }
sound/soc/amd/ps/pci-ps.c +66 -66
320 lines not on this page · raw message
sound/soc/amd/ps/ps-mach.c +15 -15
@@ -13,11 +13,11 @@#include <linux/io.h> #include <linux/dmi.h> -#include "acp62.h" +#include "acp63.h" #define DRV_NAME "acp_ps_mach" -SND_SOC_DAILINK_DEF (acp62_pdm, +SND_SOC_DAILINK_DEF (acp63_pdm,DAILINK_COMP_ARRAY (COMP_CPU ("acp_ps_pdm_dma.0" ))); SND_SOC_DAILINK_DEF(dmic_codec,
@@ -27,31 +27,31 @@ SND_SOC_DAILINK_DEF(dmic_codec,SND_SOC_DAILINK_DEF (pdm_platform,DAILINK_COMP_ARRAY (COMP_PLATFORM ("acp_ps_pdm_dma.0" ))); -static struct snd_soc_dai_link acp62_dai_pdm[] = { +static struct snd_soc_dai_link acp63_dai_pdm[] = { { - .name ="acp62-dmic-capture" , + .name ="acp63-dmic-capture" , .stream_name ="DMIC capture" , .capture_only =1 , -SND_SOC_DAILINK_REG (acp62_pdm, dmic_codec, pdm_platform), +SND_SOC_DAILINK_REG (acp63_pdm, dmic_codec, pdm_platform), }, }; -static struct snd_soc_card acp62_card = { - .name ="acp62" , +static struct snd_soc_card acp63_card = { + .name ="acp63" , .owner =THIS_MODULE , - .dai_link = acp62_dai_pdm, + .dai_link = acp63_dai_pdm, .num_links =1 , }; -static int acp62_probe (struct platform_device *pdev) +static int acp63_probe (struct platform_device *pdev) { -struct acp62_pdm *machine =NULL ; +struct acp63_pdm *machine =NULL ;struct snd_soc_card *card;int ret; -platform_set_drvdata (pdev, &acp62_card); +platform_set_drvdata (pdev, &acp63_card); card =platform_get_drvdata (pdev); - acp62_card.dev = &pdev->dev; + acp63_card.dev = &pdev->dev;snd_soc_card_set_drvdata (card, machine); ret =devm_snd_soc_register_card (&pdev->dev, card);
@@ -64,15 +64,15 @@ static int acp62_probe(struct platform_device *pdev)return 0 ; } -static struct platform_driver acp62_mach_driver = { +static struct platform_driver acp63_mach_driver = { .driver = { .name ="acp_ps_mach" , .pm = &snd_soc_pm_ops, }, - .probe = acp62_probe, + .probe = acp63_probe, }; -module_platform_driver (acp62_mach_driver); +module_platform_driver (acp63_mach_driver);MODULE_AUTHOR ("[email protected]" );MODULE_LICENSE ("GPL v2" );
sound/soc/amd/ps/ps-pdm-dma.c +94 -94
445 lines not on this page · raw message
Signature · 1 line
2.25.1
Quoted 1 line · Syed Saba Kareem
From: syed saba kareem <[email protected]>
Is your name capitalization correct? I assume from From: mail header (Title Case).
Quoted 3 lines
Pink Sardine is based on ACP6.3 architecture. This patch fixes the typo mistake acp6.2 -> acp6.3
Please write the description in imperative mood instead (e.g. "make foo do bar"). "This patch" phrase is redundant.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Mark Brown
maintainerQuoted 6 lines · Syed Saba Kareem
From: syed saba kareem <[email protected]>
Pink Sardine is based on ACP6.3 architecture. This patch fixes the typo mistake acp6.2 -> acp6.3
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: amd: fix ACP version typo mistake
commit: 4b19211435950a78af032c26ad64a5268e6012be
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark