Re: [PATCH] mmci-omap: free irq resource

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

 



* Ladislav.Michl@xxxxxxxxx <Ladislav.Michl@xxxxxxxxx> [091021 03:43]:
> Free IRQ on remove.

Looks like the MAINTAINERS file is a bit out of date for
drivers/mmc/host/omap.c..

Can you please resend this fix to Andrew Morton, and Cc
Jarkko Lavinen <jarkko.lavinen@xxxxxxxxx>,
linux-mmc@xxxxxxxxxxxxxxx and linux-omap@xxxxxxxxxxxxxxx?

We should be able to get this in as a fix during the -rc
cycle.

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>
 
> Signed-off-by: Ladislav Michl <ladis@xxxxxxxxxxxxxx>
> 
> diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
> index 5d773b8..5f970e2 100644
> --- a/drivers/mmc/host/omap.c
> +++ b/drivers/mmc/host/omap.c
> @@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platform_device *pdev)
>  		host->pdata->cleanup(&pdev->dev);
>  
>  	mmc_omap_fclk_enable(host, 0);
> +	free_irq(host->irq, host);
>  	clk_put(host->fclk);
>  	clk_disable(host->iclk);
>  	clk_put(host->iclk);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux