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


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