* [patch 2.6.21-rc5-omap1-git] fix OMAP1 mpuio suspend/resume oops
@ 2007-04-02 19:46 David Brownell
2007-04-03 18:51 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: David Brownell @ 2007-04-02 19:46 UTC (permalink / raw)
To: linux-omap-open-source
Fix oops in omap16xx mpuio suspend/resume code; field wasn't initialized
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
--- osk2.orig/arch/arm/plat-omap/gpio.c 2007-04-01 09:46:56.000000000 -0700
+++ osk2/arch/arm/plat-omap/gpio.c 2007-04-01 22:13:35.000000000 -0700
@@ -1178,6 +1178,8 @@ static struct platform_device omap_mpuio
static inline void mpuio_init(void)
{
+ platform_set_drvdata(&omap_mpuio_device, &gpio_bank_1610[0]);
+
if (platform_driver_register(&omap_mpuio_driver) == 0)
(void) platform_device_register(&omap_mpuio_device);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 2.6.21-rc5-omap1-git] fix OMAP1 mpuio suspend/resume oops
2007-04-02 19:46 [patch 2.6.21-rc5-omap1-git] fix OMAP1 mpuio suspend/resume oops David Brownell
@ 2007-04-03 18:51 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-04-03 18:51 UTC (permalink / raw)
To: David Brownell; +Cc: linux-omap-open-source
* David Brownell <david-b@pacbell.net> [070402 17:11]:
> Fix oops in omap16xx mpuio suspend/resume code; field wasn't initialized
>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
>
> --- osk2.orig/arch/arm/plat-omap/gpio.c 2007-04-01 09:46:56.000000000 -0700
> +++ osk2/arch/arm/plat-omap/gpio.c 2007-04-01 22:13:35.000000000 -0700
> @@ -1178,6 +1178,8 @@ static struct platform_device omap_mpuio
>
> static inline void mpuio_init(void)
> {
> + platform_set_drvdata(&omap_mpuio_device, &gpio_bank_1610[0]);
> +
> if (platform_driver_register(&omap_mpuio_driver) == 0)
> (void) platform_device_register(&omap_mpuio_device);
> }
Pushing to omap-upstream.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-03 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 19:46 [patch 2.6.21-rc5-omap1-git] fix OMAP1 mpuio suspend/resume oops David Brownell
2007-04-03 18:51 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox