Thread (28 messages) 28 messages, 3 authors, 2016-03-16
STALE3757d
Revisions (2)
  1. v1 [diff vs current]
  2. v1 current

[PATCH 4/4] mmc: davinci: suppress waring when using DT

From: Sekhar Nori <hidden>
Date: 2016-03-14 13:41:18
Also in: linux-mmc

On Thursday 10 March 2016 05:20 AM, David Lechner wrote:
When using device tree dms resources are not obtained via IORESOURCE_DMA.
As a result, we would get warning even though DMA was working.

This fixes the problem by checking for dev.of_node and skipping trying to
get the dma platform resource if we are using device tree.

Signed-off-by: David Lechner <david@lechnology.com>
Actually, with Peter's series adding dma_slave_map[] for all
mach-davinci platforms, this code should not be needed at all. Can you
try that dropping the platform_get_resource() calls for DMA works with
linux-next?

Thanks,
Sekhar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help