* 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
* Re: Possible bug in sdio.c?
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
0 siblings, 1 reply; 4+ messages in thread
From: Michał Mirosław @ 2011-05-29 14:12 UTC (permalink / raw)
To: Prashanth Bhat; +Cc: linux-mmc, Chris Ball
On Sun, May 29, 2011 at 07:26:00AM +0530, Prashanth Bhat wrote:
> 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.
Hi,
You sent similar problem report some time ago. I assumed you will follow
on with a patch fixing mmc_card_sd() and friends (the functions you point
out in this mail should use that).
Best Regards,
Michał Mirosław
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible bug in sdio.c?
2011-05-29 14:12 ` Michał Mirosław
@ 2011-05-29 15:17 ` Prashanth Bhat
2011-05-29 15:24 ` Chris Ball
0 siblings, 1 reply; 4+ messages in thread
From: Prashanth Bhat @ 2011-05-29 15:17 UTC (permalink / raw)
To: Michał Mirosław; +Cc: linux-mmc, Chris Ball
On Sunday 29 May 2011 07:42 PM, Michał Mirosław wrote:
> On Sun, May 29, 2011 at 07:26:00AM +0530, Prashanth Bhat wrote:
>
>> 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.
>>
> Hi,
>
> You sent similar problem report some time ago. I assumed you will follow
> on with a patch fixing mmc_card_sd() and friends (the functions you point
> out in this mail should use that).
>
> Best Regards,
> Michał Mirosław
>
>
>
Thanks for the reply. Are there other places where this new function
must be used? Is it only these 2 places?
Could you please clarify the formal process for including these changes
into the build? I have made the previous changes in my private code tree
only so far.
Thanks,
Prashanth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible bug in sdio.c?
2011-05-29 15:17 ` Prashanth Bhat
@ 2011-05-29 15:24 ` Chris Ball
0 siblings, 0 replies; 4+ messages in thread
From: Chris Ball @ 2011-05-29 15:24 UTC (permalink / raw)
To: Prashanth Bhat; +Cc: Michał Mirosław, linux-mmc
Hi,
On Sun, May 29 2011, Prashanth Bhat wrote:
> Could you please clarify the formal process for including these
> changes into the build? I have made the previous changes in my private
> code tree only so far.
See Documentation/SubmittingPatches, and send the patch you generate to
the same list of e-mail addresses you're using here.
If you have a git commit corresponding to the patch, you can use
git send-email or git format-patch to generate the patch file.
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ 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).