On Wed, Nov 30, 2011 at 11:21 PM, Russell King - ARM Linux
<[email protected]> wrote:
>> if (!cmd->data || cmd->error) {
>> - if (host->data)
>> + if (host->data) {
>> + /* Terminate the DMA transfer */
>> + if (dma_inprogress(host))
>> + mmci_dma_data_error(host);
>
> Doesn't this leave the DMA buffers mapped?
Yep it needs an mmci_dma_unmap() call too AFAICT,
Ulf will you update?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html