From: Julia Lawall <julia.lawall@lip6.fr>
To: nsekhar@ti.com, khilman@ti.com, w.sang@pengutronix.de,
ben-linux@fluff.org, grant.likely@secretlab.ca,
rob.herring@calxeda.com,
davinci-linux-open-source@linux.davincidsp.com,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org
Subject: question about drivers/i2c/busses/i2c-davinci.c
Date: Sun, 6 Jan 2013 21:00:59 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.02.1301062057260.2029@localhost6.localdomain6> (raw)
The function davinci_i2c_remove in drivers/i2c/busses/i2c-davinci.c
contains the following code:
put_device(&pdev->dev);
clk_disable_unprepare(dev->clk);
clk_put(dev->clk);
dev->clk = NULL;
davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, 0);
free_irq(dev->irq, dev);
Is there any danger in putting free_irq(dev->irq, dev); after
put_device(&pdev->dev);, because the interrupt handler i2c_davinci_isr can
eg refer to dev->dev.
thanks,
julia
next reply other threads:[~2013-01-06 20:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-06 20:00 Julia Lawall [this message]
2013-01-24 12:36 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1301062057260.2029@localhost6.localdomain6 \
--to=julia.lawall@lip6.fr \
--cc=ben-linux@fluff.org \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=khilman@ti.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=rob.herring@calxeda.com \
--cc=w.sang@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®