If device_register() fails, it should call put_device() to give
up reference, the name allocated in dev_set_name() can be freed
in callback function kobject_cleanup().
Fixes: 5b65781d06ea ("dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20221020062827.2914148-1-yangyingliang@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
|
||
|---|---|---|
| .. | ||
| cppi41.c | ||
| dma-crossbar.c | ||
| edma.c | ||
| k3-psil-am62.c | ||
| k3-psil-am64.c | ||
| k3-psil-am654.c | ||
| k3-psil-j721e.c | ||
| k3-psil-j721s2.c | ||
| k3-psil-j7200.c | ||
| k3-psil-priv.h | ||
| k3-psil.c | ||
| k3-udma-glue.c | ||
| k3-udma-private.c | ||
| k3-udma.c | ||
| k3-udma.h | ||
| Kconfig | ||
| Makefile | ||
| omap-dma.c | ||