]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
dmaengine: at_hdmac: Drop locking in at_hdmac_alloc_chan_resources()
authorTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 23 Jan 2020 14:03:04 +0000 (14:03 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 05:57:27 +0000 (11:27 +0530)
commitbbc58394d81110f76586d3053fd5a3a3ad616050
treefde86397b2f2100afdf257cd34036ad5dab35e9b
parenta6e7f19c910068cb54983f36acebedb376f3a9ac
dmaengine: at_hdmac: Drop locking in at_hdmac_alloc_chan_resources()

There is no need for locking in device_alloc_chan_resources(),
the DMA core takes care of it by using a dma_list_mutex around
the DMA devices.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20200123140237.125799-2-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_hdmac.c