int ret;
if (gpio_is_valid(pdata->slots[0].switch_pin)) {
- if (pdata->slots[0].cover)
+ if (0 && pdata->slots[0].cover)
pdata->slots[0].get_cover_state =
omap_hsmmc_get_cover_state;
else
| The Following 8 Users Say Thank You to reinob For This Useful Post: | ||
/* Protect the card while the cover is open */
static void omap_hsmmc_protect_card(struct omap_hsmmc_host *host)
{
- if (!mmc_slot(host).get_cover_state)
+ if (1 || !mmc_slot(host).get_cover_state)
return;
host->reqs_blocked = 0;
.| The Following 6 Users Say Thank You to reinob For This Useful Post: | ||
/* Protect the card while the cover is open */
static void omap_hsmmc_protect_card(struct omap_hsmmc_host *host)
{
- if (!mmc_slot(host).get_cover_state)
+ if (1 || !mmc_slot(host).get_cover_state)
return;
host->reqs_blocked = 0;
| The Following User Says Thank You to abdel_95 For This Useful Post: | ||
| The Following 3 Users Say Thank You to biketool For This Useful Post: | ||
$ uname -r 2.6.28.10-cssu1
| The Following User Says Thank You to Maxdamantus For This Useful Post: | ||
$ uname -r 2.6.28.10-cssu1