forked from Minki/linux
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>
This commit is contained in:
parent
cf7da891b6
commit
f91da3bd21
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user