From: shri <shree0007@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: mmc card detection
Date: Thu, 6 Mar 2008 19:09:57 +0530 [thread overview]
Message-ID: <d65f34950803060539y284910bck277310280ef4c009@mail.gmail.com> (raw)
Hi,
My proto board does not have a mmc card detect line to the mmc controller.
So, I have to insert the card before i insmod the mmc drivers.
If i change a card i have to rmmod and insmod the driver.
I would like to know is there anyway i can make mmc to free up all the
resources for the removed card. entries and reinitialise the new
card inserted if any
without rmmod or insmod.
I thought of using mmc_remove_host and mmc_add_host in the driver
which could be triggered by
an application through sysfs entry.
Are the calls mmc_remove_host and mmc_add_host the correct call to
use in this case?
Regards,
shri
next reply other threads:[~2008-03-06 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 13:39 shri [this message]
2008-03-14 22:54 ` Pierre Ossman
-- strict thread matches above, loose matches on Subject: below --
2008-02-21 18:46 MMC " Haavard Skinnemoen
2008-02-21 20:31 ` Haavard Skinnemoen
2008-02-25 17:24 ` Pierre Ossman
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=d65f34950803060539y284910bck277310280ef4c009@mail.gmail.com \
--to=shree0007@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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®