Hello Juha,

Rajashekhara, Sudhakar wrote:
> Hi,
> 
> On Fri, Dec 02, 2011 at 14:25:48, Heiko Schocher wrote:
>> Hello Rajashekhara, Sudhakar,
>>
>> Rajashekhara, Sudhakar wrote:
>>> Hi,
>>>
>>> On Fri, Dec 02, 2011 at 13:05:22, Heiko Schocher wrote:
>>>> Hello,
>>>>
>>>> trying Linux 3.2.0-rc3 on an am1808 based board using MMCSD1 controller,
>>>> and facing problems with using DMA. Deactivating use_dma=0 in the
>>>> davinci_mmc controller and mmc works in pio mode without problems.
>>>> So there are no hardware problems, pinmux is ok, psc are all on.
>>>>
>>> Please refer to the discussion at [1] where similar issue was discussed. Go 
>>> through the
> 
> [...]
> 
>> Yuhu! that works for me! But I had to fix it a little, because "edma_info"
>> is now named "info". Here my diff:
>>
> 
> Yup, this patch was on an older version.
> 
>> diff --git a/arch/arm/mach-davinci/dma.c b/arch/arm/mach-davinci/dma.c
>> index da90103..e10a251 100644
>> --- a/arch/arm/mach-davinci/dma.c
>> +++ b/arch/arm/mach-davinci/dma.c
>> @@ -1513,7 +1513,7 @@ static int __init edma_probe(struct platform_device 
>> *pdev)
>>                  * started by the codec engine will not cause audio defects.
>>                  */
>>                 for (i = 0; i < edma_cc[j]->num_channels; i++)
>> -                       map_dmach_queue(j, i, EVENTQ_1);
>> +                       map_dmach_queue(j, i, info[j]->default_queue);
>>
>>                 queue_tc_mapping = info[j]->queue_tc_mapping;
>>                 queue_priority_mapping = info[j]->queue_priority_mapping;
>>
>>> [1] 
>>> http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg17926.html
>>>  
>> Do you prepare a patch, or should I send it?
>>
> 
> You can go ahead and submit the patch but Juha was the person who found out 
> this issue.

Juha, can you post this patch, or is it ok for you, if I post it
with your "Reported-by" and "Signed-off-by"?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to