lkml.org 
[lkml]   [2007]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 9/10] ARM: OMAP: fix OMAP1 mpuio suspend/resume oops
    Date
    From: David Brownell <david-b@pacbell.net>

    Fix oops in omap16xx mpuio suspend/resume code; field wasn't initialized

    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    ---
    arch/arm/plat-omap/gpio.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    --- a/arch/arm/plat-omap/gpio.c
    +++ b/arch/arm/plat-omap/gpio.c
    @@ -1178,6 +1178,8 @@ static struct platform_device omap_mpuio_device = {

    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);
    }
    --
    1.4.4.2
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-09 23:07    [W:4.224 / U:2.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site