linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
@ 2009-12-15 21:00 Geert Uytterhoeven
  2009-12-15 22:13 ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2009-12-15 21:00 UTC (permalink / raw)
  To: Mark Brown, Samuel Ortiz; +Cc: Linux Kernel Development

>From e2def3261a58e9c0e56b710b2020858df010a2c1 Mon Sep 17 00:00:00 2001
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Tue, 15 Dec 2009 21:49:57 +0100
Subject: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS

commit 5fb4d38b19d95a5f980f0a10adba798f5b92128c ("mfd: Move WM831x to generic
IRQ") didn't take into account that genirq support depends on GENERIC_HARDIRQS.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/mfd/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 8782978..5863d14 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -197,7 +197,7 @@ config MFD_WM8400
 config MFD_WM831X
 	bool "Support Wolfson Microelectronics WM831x/2x PMICs"
 	select MFD_CORE
-	depends on I2C=y
+	depends on I2C=y && GENERIC_HARDIRQS
 	help
 	  Support for the Wolfson Microelecronics WM831x and WM832x PMICs.
 	  This driver provides common support for accessing the device,
-- 
1.6.0.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
  2009-12-15 21:00 [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS Geert Uytterhoeven
@ 2009-12-15 22:13 ` Mark Brown
  2010-03-09 19:13   ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2009-12-15 22:13 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Samuel Ortiz, Linux Kernel Development

On Tue, Dec 15, 2009 at 10:00:02PM +0100, Geert Uytterhoeven wrote:
> From e2def3261a58e9c0e56b710b2020858df010a2c1 Mon Sep 17 00:00:00 2001
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Date: Tue, 15 Dec 2009 21:49:57 +0100
> Subject: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
> 
> commit 5fb4d38b19d95a5f980f0a10adba798f5b92128c ("mfd: Move WM831x to generic
> IRQ") didn't take into account that genirq support depends on GENERIC_HARDIRQS.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
  2009-12-15 22:13 ` Mark Brown
@ 2010-03-09 19:13   ` Geert Uytterhoeven
  2010-03-10 12:01     ` Mark Brown
  2010-03-11  0:30     ` Samuel Ortiz
  0 siblings, 2 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2010-03-09 19:13 UTC (permalink / raw)
  To: Mark Brown, Haojian Zhuang, Samuel Ortiz; +Cc: Linux Kernel Development

On Tue, Dec 15, 2009 at 23:13, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:
> On Tue, Dec 15, 2009 at 10:00:02PM +0100, Geert Uytterhoeven wrote:
>> From e2def3261a58e9c0e56b710b2020858df010a2c1 Mon Sep 17 00:00:00 2001
>> From: Geert Uytterhoeven <geert@linux-m68k.org>
>> Date: Tue, 15 Dec 2009 21:49:57 +0100
>> Subject: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
>>
>> commit 5fb4d38b19d95a5f980f0a10adba798f5b92128c ("mfd: Move WM831x to generic
>> IRQ") didn't take into account that genirq support depends on GENERIC_HARDIRQS.
>>
>> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
>
> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

This patch still hasn't made it. In addition, 3 more drivers started
to show the same problems
on architectures that don't use genirq yet, so I updated it.

>From a11ebba6c1a49bc97220bec57f7c8f4cddff0824 Mon Sep 17 00:00:00 2001
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Tue, 15 Dec 2009 21:49:57 +0100
Subject: [PATCH] mfd: Several MFD drivers should depend on GENERIC_HARDIRQS

commit 5fb4d38b19d95a5f980f0a10adba798f5b92128c ("mfd: Move WM831x to generic
IRQ") didn't take into account that genirq support depends on GENERIC_HARDIRQS.

Additionally, 2.6.34-rc1 added:
  - commit 2afa62ea76027b00e472ddb672191e6e15425b43 ("mfd: Use genirq in
    88pm860x").
  - commit 760e4518788df6762700e6bb9dd8692379f11168 ("mfd: Convert WM8350 to
    genirq").
  - commit 1f1cf8f98cf6588365efeaab8e7e7758aaa77f6e ("mfd: Update irq handler
    in max8925")

Make all of them depend on GENERIC_HARDIRQS to avoid compile errors on
architectures that don't support genirq yet.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/mfd/Kconfig |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 951fa9b..2a5a0b7 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -11,7 +11,7 @@ config MFD_CORE

 config MFD_88PM860X
 	bool "Support Marvell 88PM8606/88PM8607"
-	depends on I2C=y
+	depends on I2C=y && GENERIC_HARDIRQS
 	select MFD_CORE
 	help
 	  This supports for Marvell 88PM8606/88PM8607 Power Management IC.
@@ -205,7 +205,7 @@ config PMIC_ADP5520

 config MFD_MAX8925
 	bool "Maxim Semiconductor MAX8925 PMIC Support"
-	depends on I2C=y
+	depends on I2C=y && GENERIC_HARDIRQS
 	select MFD_CORE
 	help
 	  Say yes here to support for Maxim Semiconductor MAX8925. This is
@@ -226,7 +226,7 @@ config MFD_WM8400
 config MFD_WM831X
 	bool "Support Wolfson Microelectronics WM831x/2x PMICs"
 	select MFD_CORE
-	depends on I2C=y
+	depends on I2C=y && GENERIC_HARDIRQS
 	help
 	  Support for the Wolfson Microelecronics WM831x and WM832x PMICs.
 	  This driver provides common support for accessing the device,
@@ -235,6 +235,7 @@ config MFD_WM831X

 config MFD_WM8350
 	bool
+	depends on GENERIC_HARDIRQS

 config MFD_WM8350_CONFIG_MODE_0
 	bool
@@ -287,7 +288,7 @@ config MFD_WM8352_CONFIG_MODE_3
 config MFD_WM8350_I2C
 	bool "Support Wolfson Microelectronics WM8350 with I2C"
 	select MFD_WM8350
-	depends on I2C=y
+	depends on I2C=y && GENERIC_HARDIRQS
 	help
 	  The WM8350 is an integrated audio and power management
 	  subsystem with watchdog and RTC functionality for embedded
-- 
1.6.0.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
  2010-03-09 19:13   ` Geert Uytterhoeven
@ 2010-03-10 12:01     ` Mark Brown
  2010-03-10 13:12       ` Geert Uytterhoeven
  2010-03-11  0:30     ` Samuel Ortiz
  1 sibling, 1 reply; 6+ messages in thread
From: Mark Brown @ 2010-03-10 12:01 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Haojian Zhuang, Samuel Ortiz, Linux Kernel Development

On Tue, Mar 09, 2010 at 08:13:56PM +0100, Geert Uytterhoeven wrote:

> > Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

> This patch still hasn't made it. In addition, 3 more drivers started
> to show the same problems
> on architectures that don't use genirq yet, so I updated it.

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

TBH I'm surprised there's architectures that haven't implemented genirq
yet.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
  2010-03-10 12:01     ` Mark Brown
@ 2010-03-10 13:12       ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2010-03-10 13:12 UTC (permalink / raw)
  To: Mark Brown; +Cc: Haojian Zhuang, Samuel Ortiz, Linux Kernel Development

On Wed, Mar 10, 2010 at 13:01, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:
> On Tue, Mar 09, 2010 at 08:13:56PM +0100, Geert Uytterhoeven wrote:
>
>> > Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
>
>> This patch still hasn't made it. In addition, 3 more drivers started
>> to show the same problems
>> on architectures that don't use genirq yet, so I updated it.
>
> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
>
> TBH I'm surprised there's architectures that haven't implemented genirq
> yet.

There still are: m68k, s390, and sparc32. Converting m68k is on my
(too long) list...

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
  2010-03-09 19:13   ` Geert Uytterhoeven
  2010-03-10 12:01     ` Mark Brown
@ 2010-03-11  0:30     ` Samuel Ortiz
  1 sibling, 0 replies; 6+ messages in thread
From: Samuel Ortiz @ 2010-03-11  0:30 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Mark Brown, Haojian Zhuang, Linux Kernel Development

Hi Geert,

On Tue, Mar 09, 2010 at 08:13:56PM +0100, Geert Uytterhoeven wrote:
> On Tue, Dec 15, 2009 at 23:13, Mark Brown
> <broonie@opensource.wolfsonmicro.com> wrote:
> > On Tue, Dec 15, 2009 at 10:00:02PM +0100, Geert Uytterhoeven wrote:
> >> From e2def3261a58e9c0e56b710b2020858df010a2c1 Mon Sep 17 00:00:00 2001
> >> From: Geert Uytterhoeven <geert@linux-m68k.org>
> >> Date: Tue, 15 Dec 2009 21:49:57 +0100
> >> Subject: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
> >>
> >> commit 5fb4d38b19d95a5f980f0a10adba798f5b92128c ("mfd: Move WM831x to generic
> >> IRQ") didn't take into account that genirq support depends on GENERIC_HARDIRQS.
> >>
> >> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> >
> > Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> 
> This patch still hasn't made it. In addition, 3 more drivers started
> to show the same problems
> on architectures that don't use genirq yet, so I updated it.
Oh, that one slipped through, sorry about it.
Patch applied to my for-linus branch now, many thanks.

Cheers,
Samuel.


> From a11ebba6c1a49bc97220bec57f7c8f4cddff0824 Mon Sep 17 00:00:00 2001
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Date: Tue, 15 Dec 2009 21:49:57 +0100
> Subject: [PATCH] mfd: Several MFD drivers should depend on GENERIC_HARDIRQS
> 
> commit 5fb4d38b19d95a5f980f0a10adba798f5b92128c ("mfd: Move WM831x to generic
> IRQ") didn't take into account that genirq support depends on GENERIC_HARDIRQS.
> 
> Additionally, 2.6.34-rc1 added:
>   - commit 2afa62ea76027b00e472ddb672191e6e15425b43 ("mfd: Use genirq in
>     88pm860x").
>   - commit 760e4518788df6762700e6bb9dd8692379f11168 ("mfd: Convert WM8350 to
>     genirq").
>   - commit 1f1cf8f98cf6588365efeaab8e7e7758aaa77f6e ("mfd: Update irq handler
>     in max8925")
> 
> Make all of them depend on GENERIC_HARDIRQS to avoid compile errors on
> architectures that don't support genirq yet.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
>  drivers/mfd/Kconfig |    9 +++++----
>  1 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 951fa9b..2a5a0b7 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -11,7 +11,7 @@ config MFD_CORE
> 
>  config MFD_88PM860X
>  	bool "Support Marvell 88PM8606/88PM8607"
> -	depends on I2C=y
> +	depends on I2C=y && GENERIC_HARDIRQS
>  	select MFD_CORE
>  	help
>  	  This supports for Marvell 88PM8606/88PM8607 Power Management IC.
> @@ -205,7 +205,7 @@ config PMIC_ADP5520
> 
>  config MFD_MAX8925
>  	bool "Maxim Semiconductor MAX8925 PMIC Support"
> -	depends on I2C=y
> +	depends on I2C=y && GENERIC_HARDIRQS
>  	select MFD_CORE
>  	help
>  	  Say yes here to support for Maxim Semiconductor MAX8925. This is
> @@ -226,7 +226,7 @@ config MFD_WM8400
>  config MFD_WM831X
>  	bool "Support Wolfson Microelectronics WM831x/2x PMICs"
>  	select MFD_CORE
> -	depends on I2C=y
> +	depends on I2C=y && GENERIC_HARDIRQS
>  	help
>  	  Support for the Wolfson Microelecronics WM831x and WM832x PMICs.
>  	  This driver provides common support for accessing the device,
> @@ -235,6 +235,7 @@ config MFD_WM831X
> 
>  config MFD_WM8350
>  	bool
> +	depends on GENERIC_HARDIRQS
> 
>  config MFD_WM8350_CONFIG_MODE_0
>  	bool
> @@ -287,7 +288,7 @@ config MFD_WM8352_CONFIG_MODE_3
>  config MFD_WM8350_I2C
>  	bool "Support Wolfson Microelectronics WM8350 with I2C"
>  	select MFD_WM8350
> -	depends on I2C=y
> +	depends on I2C=y && GENERIC_HARDIRQS
>  	help
>  	  The WM8350 is an integrated audio and power management
>  	  subsystem with watchdog and RTC functionality for embedded
> -- 
> 1.6.0.4
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-11  0:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 21:00 [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS Geert Uytterhoeven
2009-12-15 22:13 ` Mark Brown
2010-03-09 19:13   ` Geert Uytterhoeven
2010-03-10 12:01     ` Mark Brown
2010-03-10 13:12       ` Geert Uytterhoeven
2010-03-11  0:30     ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).