]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
dmaengine: dw: Distinguish ->remove() between DW and iDMA 32-bit
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 14 Jun 2019 11:06:04 +0000 (14:06 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Jun 2019 04:27:41 +0000 (09:57 +0530)
commita183ec708b7318bec6bb8a6593f9f7e9bb3fdf4e
treea01c0c8c7859edc7eaab101dcc5f2e64628a81de
parent002905eca5bedab08bafd9e325bbbb41670c7712
dmaengine: dw: Distinguish ->remove() between DW and iDMA 32-bit

In the same way as done for ->probe(), call ->remove() based on
the type of the hardware.

While it works now due to equivalency of the two removal functions,
it might be changed in the future.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/pci.c