|
@@ -316,7 +316,7 @@ static int host1x_device_match(struct device *dev, struct device_driver *drv)
|
|
|
|
|
|
static int host1x_dma_configure(struct device *dev)
|
|
|
{
|
|
|
- return of_dma_configure(dev, dev->of_node);
|
|
|
+ return of_dma_configure(dev, dev->of_node, true);
|
|
|
}
|
|
|
|
|
|
static const struct dev_pm_ops host1x_device_pm_ops = {
|
|
@@ -333,7 +333,6 @@ struct bus_type host1x_bus_type = {
|
|
|
.match = host1x_device_match,
|
|
|
.dma_configure = host1x_dma_configure,
|
|
|
.pm = &host1x_device_pm_ops,
|
|
|
- .force_dma = true,
|
|
|
};
|
|
|
|
|
|
static void __host1x_device_del(struct host1x_device *device)
|
|
@@ -422,7 +421,7 @@ static int host1x_device_add(struct host1x *host1x,
|
|
|
device->dev.bus = &host1x_bus_type;
|
|
|
device->dev.parent = host1x->dev;
|
|
|
|
|
|
- of_dma_configure(&device->dev, host1x->dev->of_node);
|
|
|
+ of_dma_configure(&device->dev, host1x->dev->of_node, true);
|
|
|
|
|
|
err = host1x_device_parse_dt(device, driver);
|
|
|
if (err < 0) {
|