浏览代码

Update DMA check for surface_acpi

Linux upstream commit 5ba846b1ee0792f5a596b9b0b86d6e8cdebfab06 changed
some behavior in dmaengine, this is a fix for that.
qzed 6 年之前
父节点
当前提交
565c5e4c2f
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      patches/4.19/0001-surface-acpi.patch
  2. 1 1
      patches/5.1/0001-surface-acpi.patch

+ 1 - 1
patches/4.19/0001-surface-acpi.patch

@@ -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)

+ 1 - 1
patches/5.1/0001-surface-acpi.patch

@@ -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)