summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-03-06 14:50:18 +0100
committerVinod Koul <vkoul@kernel.org>2020-03-11 10:12:59 +0100
commitf91da3bd21721c05cc7054156fa993edbb16777a (patch)
tree14f0d01873efb106e137355e277debd0274de927 /drivers/dma/dmaengine.c
parentdocs: dmaengine: provider.rst: get rid of some warnings (diff)
downloadlinux-f91da3bd21721c05cc7054156fa993edbb16777a.tar.xz
linux-f91da3bd21721c05cc7054156fa993edbb16777a.zip
dmaengine: move .device_release missing log warning to debug level
Dmaengine core warns the drivers registering for missing .device_release implementation. The warning is accurate for dmaengine controllers which hotplug but not for rest. So reduce this to a debug log. Link: https://lore.kernel.org/r/20200306135018.2286959-1-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r--drivers/dma/dmaengine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index c3b1283b6d31..17909fd1820f 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -1151,7 +1151,7 @@ int dma_async_device_register(struct dma_device *device)
}
if (!device->device_release)
- dev_warn(device->dev,
+ dev_dbg(device->dev,
"WARN: Device release is not defined so it is not safe to unbind this driver while in use\n");
kref_init(&device->ref);