From: Chris Ball <cjb@laptop.org>
To: Linus Walleij <linus.walleij@stericsson.com>
Cc: linux-mmc@vger.kernel.org, Ghorai Sukumar <s-ghorai@ti.com>,
Nicolas Pitre <nico@fluxnic.net>,
Adrian Hunter <adrian.hunter@nokia.com>,
David Vrabel <david.vrabel@csr.com>,
Kyungmin Park <kmpark@infradead.org>,
jh80.chung@samsung.com
Subject: Re: [PATCH 1/2] mmc: agressive clocking framework v8
Date: Tue, 21 Dec 2010 20:24:08 +0000 [thread overview]
Message-ID: <20101221202408.GA12006@void.printf.net> (raw)
In-Reply-To: <1288776170-10141-1-git-send-email-linus.walleij@stericsson.com>
Hi Linus,
On Wed, Nov 03, 2010 at 10:22:50AM +0100, Linus Walleij wrote:
> +/*
> + * mmc_host_clk_exit - shut down clock gating code
> + * @host: host with potential clock to control
> + */
> +static inline void mmc_host_clk_exit(struct mmc_host *host)
> +{
> + /*
> + * Wait for any outstanding gate and then make sure we're
> + * ungated before exiting.
> + */
> + if (cancel_work_sync(&host->clk_disable_work))
> + mmc_host_clk_gate_delayed(host);
> + if (host->clk_gated)
> + mmc_host_clk_ungate(host);
> + BUG_ON(host->clk_requests > 0);
> +}
I just hit the BUG_ON() above, when doing "rmmod sdhci-pci" on my x86
laptop running today's linux-next. There was *no* SD card inserted,
and hadn't been one inserted all boot.
Let me know if you want me to try adding any extra debugging/patches.
Thanks,
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2010-12-21 20:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 9:22 [PATCH 1/2] mmc: agressive clocking framework v8 Linus Walleij
2010-11-08 9:26 ` Linus Walleij
2010-11-08 22:30 ` Linus Walleij
2010-11-09 3:59 ` Chris Ball
2010-11-09 10:18 ` Linus Walleij
2010-11-22 23:27 ` Chris Ball
2010-11-24 13:15 ` Linus Walleij
2010-11-24 13:38 ` Chris Ball
2010-11-10 9:05 ` Ohad Ben-Cohen
2010-11-10 16:25 ` Linus Walleij
2010-11-10 16:34 ` Chris Ball
2010-11-10 19:22 ` Ohad Ben-Cohen
2010-12-21 20:24 ` Chris Ball [this message]
2010-12-22 8:12 ` Linus Walleij
2010-12-22 8:24 ` David Vrabel
2010-12-22 8:50 ` Linus Walleij
2010-12-23 0:09 ` Chris Ball
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=20101221202408.GA12006@void.printf.net \
--to=cjb@laptop.org \
--cc=adrian.hunter@nokia.com \
--cc=david.vrabel@csr.com \
--cc=jh80.chung@samsung.com \
--cc=kmpark@infradead.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-mmc@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=s-ghorai@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.