Re: [PATCH v3 09/25] mmc: sdhci: allocate alignment and DMA descriptor buffer together

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

 



On Wed, Jan 27, 2016 at 11:14:41AM +0200, Adrian Hunter wrote:
> On 26/01/16 15:39, Russell King wrote:
> > -		} else if (host->adma_addr & (SDHCI_ADMA2_DESC_ALIGN - 1)) {
> > +		} else if (dma & SDHCI_ADMA2_MASK) {
> 
> The descriptor table has a bigger alignment requirement, so that should remain the check i.e.
> 
> 		} else if ((dma + host->align_buffer_sz) & (SDHCI_ADMA2_DESC_ALIGN - 1)) {

No other comments?

-- 
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux