[PATCH] xen/gntdev: fix of_dma_configure API change

From: Oleksandr Andrushchenko
Date: Fri Jun 15 2018 - 01:55:57 EST


Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
---
drivers/xen/gntdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c
index 46cee32c2a37..fd680a8c8ece 100644
--- a/drivers/xen/gntdev.c
+++ b/drivers/xen/gntdev.c
@@ -604,7 +604,7 @@ static int gntdev_open(struct inode *inode, struct file *flip)
* Fix this by calling of_dma_configure() with a NULL node to set
* default DMA ops.
*/
- of_dma_configure(priv->dma_dev, NULL);
+ of_dma_configure(priv->dma_dev, NULL, true);
#endif
pr_debug("priv %p\n", priv);

--
2.17.1


--------------F4451C5F6BC93CF3F350F4FA--