Re: [PATCH] dmaengine: qcom-bam: fix circular buffer handling

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

 





On 18/06/2019 15:56, Sricharan R wrote:
   So MAX_DESCRIPTORS is used in driver for masking head/tail pointers.
   That's why we have to pass MAX_DESCRIPTORS + 1 so that it works
   when the Macros does a size - 1
Isn't that incorrect to do that, pretending to have more descriptors than we actually have?

--srini



[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