Update DMA check for surface_acpi

Linux upstream commit 5ba846b1ee0792f5a596b9b0b86d6e8cdebfab06 changed
some behavior in dmaengine, this is a fix for that.
This commit is contained in:
qzed 2019-06-20 02:13:19 +02:00
parent 109d2c5ffc
commit 565c5e4c2f
2 changed files with 2 additions and 2 deletions

View file

@ -1595,7 +1595,7 @@ index 000000000000..ab793f6774a0
+static bool surfacegen5_idma_filter(struct dma_chan *chan, void *param)
+{
+ // see dw8250_idma_filter
+ return param == chan->device->dev->parent;
+ return param == chan->device->dev;
+}
+
+static int surfacegen5_ssh_check_dma(struct serdev_device *serdev)

View file

@ -1574,7 +1574,7 @@ index 000000000000..ab793f6774a0
+static bool surfacegen5_idma_filter(struct dma_chan *chan, void *param)
+{
+ // see dw8250_idma_filter
+ return param == chan->device->dev->parent;
+ return param == chan->device->dev;
+}
+
+static int surfacegen5_ssh_check_dma(struct serdev_device *serdev)