dmaengine: move .device_release missing log warning to debug level
Vinod Koul
maintainerPATCH 1/1 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.
Signed-off-by Vinod Koul <[email protected]>
--- drivers/dma/dmaengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/dmaengine.c +1 -1
@@ -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);
Signature · 1 line
2.24.1
Vinod Koul
maintainerQuoted 5 lines · Vinod Koul
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.
Applied now
Signature · 1 line
~Vinod