lkml.org 
[lkml]   [2008]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmc card detection
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


\
 
 \ /
  Last update: 2008-03-14 23:57    [W:0.030 / U:2.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site