Skip to contentSkip to conversation

ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC

PATCH Superseded Uwe Kleine-König 4 participants 10 messages Jul 25, 2011 – Jul 27, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC

This fixes:

	warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903 which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)
---
 arch/arm/mach-tegra/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-tegra/Kconfig +3 -3
index 5ec1846..33acbd9 100644
@@ -27,14 +27,14 @@ comment "Tegra board type"
 
 config MACH_HARMONY
        bool "Harmony board"
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC
        help
          Support for nVidia Harmony development platform
 
 config MACH_KAEN
        bool "Kaen board"
        select MACH_SEABOARD
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC
        help
          Support for the Kaen version of Seaboard
 
@@ -45,7 +45,7 @@ config MACH_PAZ00
 
 config MACH_SEABOARD
        bool "Seaboard board"
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC
        help
          Support for nVidia Seaboard development platform. It will
 	 also be included for some of the derivative boards that
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 2/2 ARM: tegra: enable rtc driver in defconfig

---
 arch/arm/configs/tegra_defconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +2 -0
index 8845f1c..d87631f 100644
@@ -98,6 +98,8 @@ CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
 CONFIG_MMC_SDHCI_TEGRA=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_TEGRA=m
 CONFIG_STAGING=y
 # CONFIG_STAGING_EXCLUDE_BUILD is not set
 CONFIG_IIO=y
Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 1/2 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC

In reply to Uwe Kleine-König

Uwe Kleine-K?nig wrote at Monday, July 25, 2011 9:48 AM:

Quoted 5 lines

This fixes:

	warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903

which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)

arch/arm/mach-tegra/Kconfig +0 -0

...

arch/arm/mach-tegra/Kconfig

Quoted 4 lines

config MACH_HARMONY
bool "Harmony board"

arch/arm/mach-tegra/Kconfig +1 -1
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC

Shouldn't that be SND_SOC?

Signature · 1 line
nvpublic
#3 lore raw

PATCH 1/2 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC

Quoted 5 lines · Stephen Warren

Uwe Kleine-K?nig wrote at Monday, July 25, 2011 9:48 AM:

Quoted 3 lines

This fixes:

	warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903

which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)

Quoted 8 lines
Quoted 1 line
arch/arm/mach-tegra/Kconfig +0 -0

...

arch/arm/mach-tegra/Kconfig

Quoted 4 lines

config MACH_HARMONY
bool "Harmony board"

arch/arm/mach-tegra/Kconfig +1 -1
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SOUND_SOC

Shouldn't that be SND_SOC?

Hmm, with SOUND_SOC the warning is gone, too :-)

Yeah, will send a fixed patch tomorrow.

Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#4 lore raw

PATCH v2 1/1 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

In reply to Stephen Warren

This fixes:

	warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903 which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)

---
Changes since (implicit) v1:
- correctly depend on SND_SOC instead of the non-existent SOUND_SOC
- fix commit log accordingly

Thanks to Stephen Warren for noticing.

Best regards
Uwe

 arch/arm/mach-tegra/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-tegra/Kconfig +3 -3
index 5ec1846..fec64f3 100644
@@ -27,14 +27,14 @@ comment "Tegra board type"
 
 config MACH_HARMONY
        bool "Harmony board"
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
        help
          Support for nVidia Harmony development platform
 
 config MACH_KAEN
        bool "Kaen board"
        select MACH_SEABOARD
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
        help
          Support for the Kaen version of Seaboard
 
@@ -45,7 +45,7 @@ config MACH_PAZ00
 
 config MACH_SEABOARD
        bool "Seaboard board"
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
        help
          Support for nVidia Seaboard development platform. It will
 	 also be included for some of the derivative boards that
Signature · 1 line
1.7.5.4
#5 lore raw

PATCH v2 1/1 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

Uwe Kleine-K?nig wrote at Tuesday, July 26, 2011 2:16 AM:

Quoted 5 lines

This fixes:

	warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903

which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)

(I'm also CC'ing the various maintainers explicitly, so they see the patch, and can decide which git tree to take this through)

Quoted 45 lines

---
Changes since (implicit) v1:
- correctly depend on SND_SOC instead of the non-existent SOUND_SOC
- fix commit log accordingly

Thanks to Stephen Warren for noticing.

Best regards
Uwe

 arch/arm/mach-tegra/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-tegra/Kconfig +3 -4
index 5ec1846..fec64f3 100644
@@ -27,14 +27,14 @@ comment "Tegra board type"
 
 config MACH_HARMONY
        bool "Harmony board"
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
        help
          Support for nVidia Harmony development platform
 
 config MACH_KAEN
        bool "Kaen board"
        select MACH_SEABOARD
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
        help
          Support for the Kaen version of Seaboard
 
@@ -45,7 +45,7 @@ config MACH_PAZ00
 
 config MACH_SEABOARD
        bool "Seaboard board"
-       select MACH_HAS_SND_SOC_TEGRA_WM8903
+       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
        help
          Support for nVidia Seaboard development platform. It will
 	 also be included for some of the derivative boards that
--

1.7.5.4

Signature · 1 line
nvpublic
#6 lore raw

PATCH v2 1/1 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

Quoted 11 lines · Stephen Warren

Uwe Kleine-K?nig wrote at Tuesday, July 26, 2011 2:16 AM:

Quoted 5 lines

This fixes:
? ? ? warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903 which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)

(I'm also CC'ing the various maintainers explicitly, so they see the patch, and can decide which git tree to take this through)

Arnd, can you take this?

Quoted 50 lines
Quoted 37 lines

---
Changes since (implicit) v1:
?- correctly depend on SND_SOC instead of the non-existent SOUND_SOC ?- fix commit log accordingly

Thanks to Stephen Warren for noticing.

Best regards
Uwe

?arch/arm/mach-tegra/Kconfig | ? ?6 +++---
?1 files changed, 3 insertions(+), 3 deletions(-)

arch/arm/mach-tegra/Kconfig +0 -0
index 5ec1846..fec64f3 100644
@@ -27,14 +27,14 @@ comment "Tegra board type"
 

?config MACH_HARMONY
? ? ? ? bool "Harmony board"
- ? ? ? select MACH_HAS_SND_SOC_TEGRA_WM8903
+ ? ? ? select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC ? ? ? ? help
? ? ? ? ? Support for nVidia Harmony development platform

?config MACH_KAEN
? ? ? ? bool "Kaen board"
? ? ? ? select MACH_SEABOARD
- ? ? ? select MACH_HAS_SND_SOC_TEGRA_WM8903
+ ? ? ? select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC ? ? ? ? help
? ? ? ? ? Support for the Kaen version of Seaboard

arch/arm/mach-tegra/Kconfig +0 -0
@@ -45,7 +45,7 @@ config MACH_PAZ00
 

?config MACH_SEABOARD

Quoted 8 lines

? ? ? ? bool "Seaboard board"
- ? ? ? select MACH_HAS_SND_SOC_TEGRA_WM8903
+ ? ? ? select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC ? ? ? ? help
? ? ? ? ? Support for nVidia Seaboard development platform. It will ? ? ? ?also be included for some of the derivative boards that --
1.7.5.4

--
nvpublic

#8 lore raw

PATCH v2 1/1 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

Hello Arnd,

Quoted 1 line · Arnd Bergmann

Applied to 'fixes' branch, thanks everyone!

Would you care to take the other patch in this series, too?
(http://thread.gmane.org/gmane.linux.ports.tegra/1138/focus=1139)

Thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#9 lore raw

PATCH v2 1/1 ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

Quoted 4 lines · Uwe Kleine-K?nig
Quoted 1 line · Arnd Bergmann

Applied to 'fixes' branch, thanks everyone!

Would you care to take the other patch in this series, too?
(http://thread.gmane.org/gmane.linux.ports.tegra/1138/focus=1139)

That does not look like a bug fix to me. I don't mind the patch, but I see no reason to apply it at this point, or to the 'fixes' branch.

I'll wait for Colin to accumulate more patches and then pull those from him into a tegra specific branch for 3.2, ok? If Colin wants to have it 3.1, I can pull it into the fixes branch after -rc1.

Arnd