diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-03-06 16:50:18 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-03-11 12:12:59 +0300 |
commit | f91da3bd21721c05cc7054156fa993edbb16777a (patch) | |
tree | 14f0d01873efb106e137355e277debd0274de927 /drivers/dma | |
parent | cf7da891b624983ffadd6b97ef63a0def3e985ad (diff) | |
download | linux-f91da3bd21721c05cc7054156fa993edbb16777a.tar.xz |
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')
-rw-r--r-- | drivers/dma/dmaengine.c | 2 |
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); |