[alsa-devel] [PATCH] ASoC: omap-pcm: Lower the dma coherent mask to 32bits
Peter Ujfalusi
peter.ujfalusi at ti.com
Fri Dec 6 10:31:52 CET 2013
On 12/05/2013 09:28 PM, Russell King - ARM Linux wrote:
> gives us the very last PFN which the bus associated with dev is able to
> address. Hmm - so I got the test wrong on both twice - they should both
> be:
>
> if (sizeof(mask) != sizeof(dma_addr_t) &&
> mask > (dma_addr_t)~0 &&
> dma_to_pfn(dev, ~0) < min(max_pfn, arm_dma_pfn_limit))
> return 0;
>
> since we want to fail if we have _more_ memory than the bus will allow.
> Can you try the above in both locations please?
Thanks, works fine.
I will be out for a long weekend so you can add my:
Tested-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
to the final patch.
--
Péter
More information about the Alsa-devel
mailing list