[PATCH 03/03] omap hsmmc: adaptation of sdma descriptor autoloading feature

Venkatraman S svenkatr at ti.com
Fri Mar 12 03:18:12 EST 2010


Tony Lindgren wrote:
> * Venkatraman S <svenkatr at ti.com> [100311 07:04]:
>> Tony Lindgren wrote:
>> >
>> > Does the driver still work in PIO mode?
>> >
>> > We need to have the drivers capable to fail over to PIO mode
>> > as the DMA channels can run out.
>> >
>>
>>    The driver doesn't have an automatic fallback to PIO,
>> even without my patch. A error return from omap_request_dma is
>> propogated all the way back to the transfer request.
>>   The decision to use_dma (the variable) is unaltered.
>
> OK, that might explain some nasty surprises then..
>
> With these patches, does the driver still work in PIO mode though?

No. The workhorse code to actually push the data byte by byte
is not present in the hsmmc driver.



More information about the linux-arm-kernel mailing list