Re: [PATCHv9 06/10] I2C: OMAP: Fix the crash in i2c remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Saturday 12 May 2012 11:40 PM, Wolfram Sang wrote:
>> Cc: Kevin Hilman <khilman@xxxxxx>
>> > Cc: Rajendra Nayak <rnayak@xxxxxx>
>> > Signed-off-by: Shubhrajyoti D <shubhrajyoti@xxxxxx>
> I'd really like a comment from the PM experts if each and every driver
> has to ensure that the clocks are enabled on remove like this?
Just resent cc ing linux-pm

BTW also found that

Some others are also doing the same. eg:
static int __devexit omap_hsmmc_remove(struct platform_device *pdev)
        struct omap_hsmmc_host *host = platform_get_drvdata(pdev);
        struct resource *res;


2. drivers/usb/musb/musb_core.c

static void musb_shutdown(struct platform_device *pdev)
        struct musb     *musb = dev_to_musb(&pdev->dev);
        unsigned long   flags;


Anyways will wait for feedback.

>> > ---
>> >  drivers/i2c/busses/i2c-omap.c |   

To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux