ARM: EXYNOS: Fix compile error in dev-audio.c
Subsystems (3)
PATCH 1/1 ARM: EXYNOS: Fix compile error in dev-audio.c
arch/arm/mach-exynos/dev-audio.c:58:4: error: unknown field 'src_clk' specified in initializerarch/arm/mach-exynos/dev-audio.c:58:4: warning: initialization makes integer from pointer without a cast [enabled by default] arch/arm/mach-exynos/dev-audio.c:58:4: warning: (near initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by default] arch/arm/mach-exynos/dev-audio.c:91:4: error: unknown field 'src_clk' specified in initializerarch/arm/mach-exynos/dev-audio.c:91:4: warning: initialization makes integer from pointer without a cast [enabled by default] arch/arm/mach-exynos/dev-audio.c:91:4: warning: (near initialization for 'i2sv3_pdata.type.i2s.idma_addr') [enabled by default]
--- arch/arm/mach-exynos/dev-audio.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
(quoted diff) +0 -0
b/arch/arm/mach-exynos/dev-audio.c
index a1cb42c..9d1a609 100644
arch/arm/mach-exynos/dev-audio.c +0 -12
@@ -23,11 +23,6 @@#include <mach/irqs.h> #include <mach/regs-audss.h> -static const char *rclksrc[] = { - [0 ] ="busclk" , - [1 ] ="i2sclk" , -}; -static int exynos4_cfg_i2s (struct platform_device *pdev) {/* configure GPIO for i2s port */
@@ -55,7 +50,6 @@ static struct s3c_audio_pdata i2sv5_pdata = { .i2s = { .quirks =QUIRK_PRI_6CHAN |QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR, - .src_clk = rclksrc, .idma_addr = EXYNOS4_AUDSS_INT_MEM, }, },
@@ -78,17 +72,11 @@ struct platform_device exynos4_device_i2s0 = { }, }; -static const char *rclksrc_v3[] = { - [0 ] ="sclk_i2s" , - [1 ] ="no_such_clock" , -}; -static struct s3c_audio_pdata i2sv3_pdata = { .cfg_gpio = exynos4_cfg_i2s, .type = { .i2s = { .quirks =QUIRK_NO_MUXPSR , - .src_clk = rclksrc_v3, }, }, };
Signature · 1 line
1.7.4.1
PATCH 1/1 ARM: EXYNOS: Fix compile error in dev-audio.c
Quoted 13 lines · Jonghwan Choi
arch/arm/mach-exynos/dev-audio.c:58:4: error: unknown field 'src_clk' specified in initializerarch/arm/mach-exynos/dev-audio.c:58:4: warning: initialization makes integer from pointer without a cast [enabled by default]arch/arm/mach-exynos/dev-audio.c:58:4: warning: (near initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by default]arch/arm/mach-exynos/dev-audio.c:91:4: error: unknown field 'src_clk' specified in initializerarch/arm/mach-exynos/dev-audio.c:91:4: warning: initialization makes integer from pointer without a cast [enabled by default]arch/arm/mach-exynos/dev-audio.c:91:4: warning: (near initialization for 'i2sv3_pdata.type.i2s.idma_addr') [enabled by default]
Quoted 1 line
Signed-off-by Jonghwan Choi <[email protected]>
This only fixes one of many build errors caused by the i2s change:
1 arch/arm/mach-s3c64xx/dev-audio.c:113:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s3c64xx/dev-audio.c:113:4: warning: (near
initialization for 'i2sv4_pdata.type.i2s.idma_addr') [enabled by
default]
1 arch/arm/mach-s3c64xx/dev-audio.c:69:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s3c64xx/dev-audio.c:69:4: warning: (near
initialization for 'i2sv3_pdata.type.i2s.quirks') [enabled by default]
1 arch/arm/mach-s5p64x0/dev-audio.c:115:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5p64x0/dev-audio.c:115:4: warning: (near
initialization for 's5p6450_i2s_pdata.type.i2s.quirks') [enabled by
default]
1 arch/arm/mach-s5p64x0/dev-audio.c:48:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5p64x0/dev-audio.c:48:4: warning: (near
initialization for 's5p6440_i2s_pdata.type.i2s.idma_addr') [enabled by
default]
1 arch/arm/mach-s5p64x0/dev-audio.c:96:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5p64x0/dev-audio.c:96:4: warning: (near
initialization for 's5p6450_i2s0_pdata.type.i2s.idma_addr') [enabled
by default]
1 arch/arm/mach-s5pc100/dev-audio.c:53:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5pc100/dev-audio.c:53:4: warning: (near
initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by
default]
1 arch/arm/mach-s5pc100/dev-audio.c:84:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5pc100/dev-audio.c:84:4: warning: (near
initialization for 'i2sv3_pdata.type.i2s.quirks') [enabled by default]
1 arch/arm/mach-s5pv210/dev-audio.c:55:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5pv210/dev-audio.c:55:4: warning: (near
initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by
default]
1 arch/arm/mach-s5pv210/dev-audio.c:87:4: warning:
initialization makes integer from pointer without a cast [enabled by
default]
1 arch/arm/mach-s5pv210/dev-audio.c:87:4: warning: (nearinitialization for 'i2sv3_pdata.type.i2s.quirks') [enabled by default]
Looks like the breakage was caused by the following commit:
commit 1974a042dd15f1f007a3a1a2dd7a23ca0e42c01d
Author: Padmavathi Venna <[email protected]> AuthorDate: Wed Nov 28 16:17:48 2012 +0530 Commit: Mark Brown <[email protected]> CommitDate: Wed Nov 28 19:18:00 2012 +0000
ASoC: Samsung: Get I2S src_clk from clock alias id.
Padmavathi, you can't send out code that breaks all Samsung platforms like this, even if there are patches out there that fixes it. Changes have to be bisectable, which means that you can't break and unbreak the build, least of all if you merge through different maintainers. And you need to tell the other maintainer that there are dependent patches, you just sent the above patch to Mark without any such information.
Kukjin, I see that Padmavathi has posted a V3 series of patches to remove all this from the dev-audio files on November 23. Are you ok with us picking them up and sending ASAP?
-Olof
PATCH 1/1 ARM: EXYNOS: Fix compile error in dev-audio.c
Hi,
Quoted 81 lines · Olof Johansson
Quoted 13 lines · Jonghwan Choi
arch/arm/mach-exynos/dev-audio.c:58:4: error: unknown field 'src_clk' specified in initializerarch/arm/mach-exynos/dev-audio.c:58:4: warning: initialization makes integer from pointer without a cast [enabled by default]arch/arm/mach-exynos/dev-audio.c:58:4: warning: (near initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by default]arch/arm/mach-exynos/dev-audio.c:91:4: error: unknown field 'src_clk' specified in initializerarch/arm/mach-exynos/dev-audio.c:91:4: warning: initialization makes integer from pointer without a cast [enabled by default]arch/arm/mach-exynos/dev-audio.c:91:4: warning: (near initialization for 'i2sv3_pdata.type.i2s.idma_addr') [enabled by default]Quoted 1 line
Signed-off-by Jonghwan Choi <[email protected]>This only fixes one of many build errors caused by the i2s change:
1 arch/arm/mach-s3c64xx/dev-audio.c:113:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s3c64xx/dev-audio.c:113:4: warning: (near initialization for 'i2sv4_pdata.type.i2s.idma_addr') [enabled by default] 1 arch/arm/mach-s3c64xx/dev-audio.c:69:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s3c64xx/dev-audio.c:69:4: warning: (near initialization for 'i2sv3_pdata.type.i2s.quirks') [enabled by default] 1 arch/arm/mach-s5p64x0/dev-audio.c:115:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5p64x0/dev-audio.c:115:4: warning: (near initialization for 's5p6450_i2s_pdata.type.i2s.quirks') [enabled by default] 1 arch/arm/mach-s5p64x0/dev-audio.c:48:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5p64x0/dev-audio.c:48:4: warning: (near initialization for 's5p6440_i2s_pdata.type.i2s.idma_addr') [enabled by default] 1 arch/arm/mach-s5p64x0/dev-audio.c:96:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5p64x0/dev-audio.c:96:4: warning: (near initialization for 's5p6450_i2s0_pdata.type.i2s.idma_addr') [enabled by default] 1 arch/arm/mach-s5pc100/dev-audio.c:53:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5pc100/dev-audio.c:53:4: warning: (near initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by default] 1 arch/arm/mach-s5pc100/dev-audio.c:84:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5pc100/dev-audio.c:84:4: warning: (near initialization for 'i2sv3_pdata.type.i2s.quirks') [enabled by default] 1 arch/arm/mach-s5pv210/dev-audio.c:55:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5pv210/dev-audio.c:55:4: warning: (near initialization for 'i2sv5_pdata.type.i2s.idma_addr') [enabled by default] 1 arch/arm/mach-s5pv210/dev-audio.c:87:4: warning: initialization makes integer from pointer without a cast [enabled by default] 1 arch/arm/mach-s5pv210/dev-audio.c:87:4: warning: (nearinitialization for 'i2sv3_pdata.type.i2s.quirks') [enabled by default]
Looks like the breakage was caused by the following commit:
commit
1974a042dd15f1f007a3a1a2dd7a23ca0e42c01dAuthor: Padmavathi Venna <[email protected]> AuthorDate: Wed Nov 28 16:17:48 2012 +0530 Commit: Mark Brown <[email protected]> CommitDate: Wed Nov 28 19:18:00 2012 +0000ASoC: Samsung: Get I2S
src_clkfrom clock alias id.
Quoted 7 lines
Padmavathi, you can't send out code that breaks all Samsung platforms like this, even if there are patches out there that fixes it. Changes have to be bisectable, which means that you can't break and unbreak the build, least of all if you merge through different maintainers. And you need to tell the other maintainer that there are dependent patches, you just sent the above patch to Mark without any such information.
In V3, as I posted all the patches together I didn't mention about the dependency. But I could have mentioned about it in V4. I apologize for the build break.
Quoted 4 lines
Kukjin, I see that Padmavathi has posted a V3 series of patches to remove all this from the dev-audio files on November 23. Are you ok with us picking them up and sending ASAP?
Kukjin, Could you please give your conformation for the above patches?
Quoted 7 lines
-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks
Padma
PATCH 1/1 ARM: EXYNOS: Fix compile error in dev-audio.c
In reply to Olof JohanssonOlof Johansson wrote:
[...]
Quoted 10 lines
Looks like the breakage was caused by the following commit:
commit
1974a042dd15f1f007a3a1a2dd7a23ca0e42c01dAuthor: Padmavathi Venna <[email protected]> AuthorDate: Wed Nov 28 16:17:48 2012 +0530 Commit: Mark Brown <[email protected]> CommitDate: Wed Nov 28 19:18:00 2012 +0000ASoC: Samsung: Get I2S
src_clkfrom clock alias id.
Quoted 8 lines
Padmavathi, you can't send out code that breaks all Samsung platforms like this, even if there are patches out there that fixes it. Changes have to be bisectable, which means that you can't break and unbreak the build, least of all if you merge through different maintainers. And you need to tell the other maintainer that there are dependent patches, you just sent the above patch to Mark without any such information.
Oops, I thought the 'src_clk' should be restored with my drop the commit 48a2050d ("ARM: SAMSUNG: Delete the unnecessary variable"), however, seems other patch has same changes...What's happening?
See below,
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-November/134979.h
tml
Quoted 4 lines
Kukjin, I see that Padmavathi has posted a V3 series of patches to remove all this from the dev-audio files on November 23. Are you ok with us picking them up and sending ASAP?
Hmm, just Mark's following can fix it but I didn't look at it yet.
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-November/134911.h
tml
- Kukjin
PATCH 1/1 ARM: EXYNOS: Fix compile error in dev-audio.c
In reply to Olof JohanssonQuoted 31 lines · Kukjin Kim
Olof Johansson wrote:
[...]
Quoted 10 lines
Looks like the breakage was caused by the following commit:
commit
1974a042dd15f1f007a3a1a2dd7a23ca0e42c01dAuthor: Padmavathi Venna <[email protected]> AuthorDate: Wed Nov 28 16:17:48 2012 +0530 Commit: Mark Brown <[email protected]> CommitDate: Wed Nov 28 19:18:00 2012 +0000ASoC: Samsung: Get I2S
src_clkfrom clock alias id.Quoted 8 lines
Padmavathi, you can't send out code that breaks all Samsung platforms like this, even if there are patches out there that fixes it. Changes have to be bisectable, which means that you can't break and unbreak the build, least of all if you merge through different maintainers. And you need to tell the other maintainer that there are dependent patches, you just sent the above patch to Mark without any such information.
Oops, I thought the '
src_clk' should be restored with my drop the commit48a2050d("ARM: SAMSUNG: Delete the unnecessary variable"), however, seems other patch has same changes...What's happening?See below,
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-
November/134979.html
Quoted 9 lines
Quoted 4 lines
Kukjin, I see that Padmavathi has posted a V3 series of patches to remove all this from the dev-audio files on November 23. Are you ok with us picking them up and sending ASAP?
Hmm, just Mark's following can fix it but I didn't look at it yet.
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-
November/134911.html
Olof, I sent 'git pull request' for fix the problems just now, please check it.
Thanks.
- Kukjin