ASoC: fsl_ssi: Fix build error
Subsystems (3)
PATCH 1/1 ASoC: fsl_ssi: Fix build error
powerpc:mpc85xx_defconfig fails to build with the following errors.
sound/soc/fsl/fsl_dma.c: In function 'fsl_soc_dma_probe':sound/soc/fsl/fsl_dma.c:916:34: error: 'CCSR_SSI_STX0' undeclared sound/soc/fsl/fsl_dma.c:917:34: error: 'CCSR_SSI_SRX0' undeclared
---
I would suggest to merge this patch into the offending patch to preserve bisectability.
sound/soc/fsl/fsl_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/fsl/fsl_dma.c +2 -2
@@ -913,8 +913,8 @@ static int fsl_soc_dma_probe(struct platform_device *pdev) dma->dai.pcm_free = fsl_dma_free_dma_buffers;/* Store the SSI-specific information that we need */ - dma->ssi_stx_phys = res.start +CCSR_SSI_STX0 ; - dma->ssi_srx_phys = res.start +CCSR_SSI_SRX0 ; + dma->ssi_stx_phys = res.start +REG_SSI_STX0 ; + dma->ssi_srx_phys = res.start +REG_SSI_SRX0 ; iprop =of_get_property (ssi_np,"fsl,fifo-depth" ,NULL );if (iprop)
Signature · 1 line
2.7.4
Quoted 8 lines · Guenter Roeck
powerpc:mpc85xx_defconfig fails to build with the following errors.
sound/soc/fsl/fsl_dma.c: In function 'fsl_soc_dma_probe':sound/soc/fsl/fsl_dma.c:916:34: error: 'CCSR_SSI_STX0' undeclaredsound/soc/fsl/fsl_dma.c:917:34: error: 'CCSR_SSI_SRX0' undeclaredFixes a818aa5f967b ("ASoC: fsl_ssi: Rename registers and fields macros")Cc Nicolin Chen <[email protected]>
Thanks
Quoted 28 lines
Cc Maciej S. Szmigiero <[email protected]>Cc Timur Tabi <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
I would suggest to merge this patch into the offending patch to preserve bisectability.sound/soc/fsl/fsl_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)sound/soc/fsl/fsl_dma.c +2
-2@@ -913,8 +913,8 @@ static int fsl_soc_dma_probe(struct platform_device *pdev) dma->dai.pcm_free = fsl_dma_free_dma_buffers;/* Store the SSI-specific information that we need */ - dma->ssi_stx_phys = res.start +CCSR_SSI_STX0 ; - dma->ssi_srx_phys = res.start +CCSR_SSI_SRX0 ; + dma->ssi_stx_phys = res.start +REG_SSI_STX0 ; + dma->ssi_srx_phys = res.start +REG_SSI_SRX0 ; iprop =of_get_property (ssi_np,"fsl,fifo-depth" ,NULL );if (iprop)Signature · 1 line
2.7.4
Mark Brown
maintainerApplied "ASoC: fsl_ssi: Fix build error" to the asoc tree
In reply to Guenter RoeckThe patch
ASoC: fsl_ssi: Fix build error
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
a5a86a7f87d7b684f0369e1f207bb294cfa58ddeMon Sep 17 00:00:00 2001
From: Guenter Roeck <[email protected]>
Date: Sun, 7 Jan 2018 09:05:50 -0800
Subject: [PATCH] ASoC: fsl_ssi: Fix build error
powerpc:mpc85xx_defconfig fails to build with the following errors.
sound/soc/fsl/fsl_dma.c: In function 'fsl_soc_dma_probe':sound/soc/fsl/fsl_dma.c:916:34: error: 'CCSR_SSI_STX0' undeclared sound/soc/fsl/fsl_dma.c:917:34: error: 'CCSR_SSI_SRX0' undeclared
--- sound/soc/fsl/fsl_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/fsl/fsl_dma.c +2 -2
@@ -913,8 +913,8 @@ static int fsl_soc_dma_probe(struct platform_device *pdev) dma->dai.pcm_free = fsl_dma_free_dma_buffers;/* Store the SSI-specific information that we need */ - dma->ssi_stx_phys = res.start +CCSR_SSI_STX0 ; - dma->ssi_srx_phys = res.start +CCSR_SSI_SRX0 ; + dma->ssi_stx_phys = res.start +REG_SSI_STX0 ; + dma->ssi_srx_phys = res.start +REG_SSI_SRX0 ; iprop =of_get_property (ssi_np,"fsl,fifo-depth" ,NULL );if (iprop)
Signature · 1 line
2.15.1