]> git.baikalelectronics.ru Git - kernel.git/commit
of: set dma_mask to point to coherent_dma_mask
authorRob Herring <rob.herring@calxeda.com>
Wed, 30 Oct 2013 04:36:46 +0000 (23:36 -0500)
committerRob Herring <rob.herring@calxeda.com>
Sun, 3 Nov 2013 20:16:49 +0000 (14:16 -0600)
commit50c723baa77ccd4c97853287d8581aa942181b9f
tree93ad000060b521fce1df0820e228a3fc7776fca0
parent12184b6d23177ea5f5b4e73c137635295bac7818
of: set dma_mask to point to coherent_dma_mask

Platform devices created by DT code don't initialize dma_mask pointer to
anything. Set it to coherent_dma_mask by default if the architecture
code has not set it.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/platform.c