mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-list@drzeus.cx>
To: shri <shree0007@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmc card detection
Date: Fri, 14 Mar 2008 23:54:07 +0100	[thread overview]
Message-ID: <20080314235407.5f4b241c@mjolnir.drzeus.cx> (raw)
In-Reply-To: <d65f34950803060539y284910bck277310280ef4c009@mail.gmail.com>

Please always add the relevant maintainer as cc if you want to be sure
that you get a response.

On Thu, 6 Mar 2008 19:09:57 +0530
shri <shree0007@gmail.com> wrote:

> 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.
> 

Let the driver call mmc_detect_change() on a timer. See mmci.c for an
example.

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

  reply	other threads:[~2008-03-14 22:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06 13:39 shri
2008-03-14 22:54 ` Pierre Ossman [this message]
  -- 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=20080314235407.5f4b241c@mjolnir.drzeus.cx \
    --to=drzeus-list@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shree0007@gmail.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 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®