Re: [PATCH 2/2] dmaengine: xilinx: Move the dma_init after clk enable

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

 



On Tue, Mar 14, 2017 at 10:04 AM, Vinod Koul <vinod.koul@xxxxxxxxx> wrote:
> On Thu, Mar 09, 2017 at 12:49:18PM +0530, Shubhrajyoti Datta wrote:
>> dma_init access registers it should be done after clk
>> enable. The patch does the same.
>
> and why is that?

To read registers abp clock is to be enabled
so the order should be to
enable clock
and then read write registers.

However the current code does it in the reverse order.

Currently it would work only if fsbl etc already enables it.

thanks and Regards,
Shubhrajyoti

>
> --
> ~Vinod
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux