From patchwork Wed Oct 21 12:43:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ladislav.Michl@seznam.cz X-Patchwork-Id: 55066 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9LAhIiD031969 for ; Wed, 21 Oct 2009 10:43:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753297AbZJUKnM (ORCPT ); Wed, 21 Oct 2009 06:43:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753285AbZJUKnM (ORCPT ); Wed, 21 Oct 2009 06:43:12 -0400 Received: from smtp.seznam.cz ([77.75.72.43]:60986 "EHLO smtp.seznam.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbZJUKnM (ORCPT ); Wed, 21 Oct 2009 06:43:12 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=Received:Received:Date:From:To:Subject:Message-ID:Reply-To:MIME-Version:Content-Type:Content-Disposition:User-Agent:X-Smtpd:X-Seznam-User:X-QM-Mark; b=VhBjbIgLZwpNGJ1Bjp6EI8lBioOlpbq3h8NJ3tSyppBLCKMoHvRk6kX366JJmKC0c 2pi0704C9c1wjLU+dR3NJZ3iCL3Cd9ehMLaDpYhKKmyEWfyvVBRGv3gwqZj0x/tsBlm UiGcFG7JLSMTw5zhJtwgtMeCn3s49uHBU6mQf4w= Received: from debian (34.24.broadband3.iol.cz [85.70.24.34]) by email-relay1.go.seznam.cz (Seznam SMTPD 1.1.7@13984) with ESMTP; Wed, 21 Oct 2009 12:43:13 +0200 (CEST) Received: by debian (sSMTP sendmail emulation); Wed, 21 Oct 2009 14:43:20 +0200 Date: Wed, 21 Oct 2009 14:43:20 +0200 From: Ladislav.Michl@seznam.cz To: linux-omap@vger.kernel.org Subject: [PATCH] mmci-omap: free irq resource Message-ID: <20091021124320.GA8525@localhost.localdomain> Reply-To: Ladislav Michl MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Smtpd: 1.1.7@13984 X-Seznam-User: ladislav.michl@seznam.cz X-QM-Mark: email-qm1<461505838> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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);