lkml.org 
[lkml]   [2011]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] sdhci: use ios->clock to know when sdhci is idle
From
> Not all SDIO cards will work properly if you try to gate them
> so we need a mechanism to selectively do this.
You are right..##??!! HW vendors that does not support standards...

AFAIK (was working on a sdio HW IP team before), the sdio clock is not
supposed to be taken as is for a system clock derivative especially
because it can stop between request.
SDIO IRQ are asynchronous when a command or data is not ongoing

> Any suggestions?
I would personally suggest white list from drivers. With a call to
mmc_host_allow_gate_card(struct mmc_card *card, bool allow)

see following patch..

Regards,
--
Pierre


\
 
 \ /
  Last update: 2011-01-02 22:11    [W:0.104 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site