linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Possible bug in sdio.c?
@ 2011-05-29  1:56 Prashanth Bhat
  2011-05-29 14:12 ` Michał Mirosław
  0 siblings, 1 reply; 4+ messages in thread
From: Prashanth Bhat @ 2011-05-29  1:56 UTC (permalink / raw)
  To: Michał Mirosław, linux-mmc, Chris Ball

Hi Michał,

In mmc/core/sdio.c, routine mmc_enable_4bit_bus():

I think:

     if (card->type == MMC_TYPE_SDIO)
               return sdio_enable_wide(card);

should really be:

     if (card->type == MMC_TYPE_SDIO || card->type == MMC_TYPE_SD_COMBO )
                return sdio_enable_wide(card);

Otherwise, the SDIO component of the SD Combo card will not operate in 
wide mode. What do you think?

Perhaps a similar change is needed in the sdio_enable_hs() routine too.

Thanks,
Prashanth

ps: I am sorry to be emailing you directly with questions/bug reports. 
What is the formal process of reporting suggestions for code change?







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-29 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29  1:56 Possible bug in sdio.c? Prashanth Bhat
2011-05-29 14:12 ` Michał Mirosław
2011-05-29 15:17   ` Prashanth Bhat
2011-05-29 15:24     ` Chris Ball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).