Re: [PATCH] OMAP4: dma: Correct CPU version check for dma_common_ch_end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 23, 2012 at 12:59 PM, Peter Ujfalusi <peter.ujfalusi@xxxxxx> wrote:
> Hi Tony,
>
> On 02/23/2012 01:07 AM, Tony Lindgren wrote:
>> * Peter Ujfalusi <peter.ujfalusi@xxxxxx> [120217 00:54]:
>>> CCDN is the last common channel register in all OMAP4 versions. Use
>>> cpu_is_omap44xx() instead of the cpu_is_omap4430() - which is anyway not
>>> doing what it supposed to do.
>>
>> This is a bit unclear.. Which is not doing what is supposed to do?
>> DMA driver? Or one of the cpu_is_omap?
>
> The cpu_is_omap4430() returns 0 unconditionally. Because of this the
> dma_common_ch_end is wrongly configured on OMAP4 (even on OMAP4430).
>
>> If this should be queued as a fix, then we need some kind of
>> description here what breaks.
>
> I will resend the patch with a better commit message. This is a bug for
> sure, but I'm not sure how severe it is. At best we are not clearing the
> registers between CCFN, and CCDN on OMAP4.
>
The bug is not severe. Infact these registers are needed for
descriptor loading sDMA feature which never made it to mainline :)
So nothing should get impacted.

Regards
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux