aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorArnd Bergmann2017-09-15 17:08:16 +0200
committerChristoph Hellwig2017-09-17 08:20:02 -0700
commit6d57339890c9a9dfcd4ba4f8931b911b962968e3 (patch)
tree11af5efc5550b5a67d6ef618dd49d1cb07a7d9e0 /init
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
dma-coherent: fix rmem_dma_device_init regression
My recent bug fix introduced another bug, which caused rmem_dma_device_init to always fail, as rmem->priv is never set to anything. This restores the previous behavior, calling dma_init_coherent_memory() whenever ->priv is NULL. Fixes: d35b0996fef3 ("dma-coherent: fix dma_declare_coherent_memory() logic error") Reported-by: Roy Pledge <roy.pledge@nxp.com> Tested-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions