linux/drivers/dma/ti
Yang Yingliang ac2b9f34f0 dmaengine: ti: k3-udma-glue: fix memory leak when register device fail
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: 5b65781d06 ("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>
2022-11-08 10:43:56 +05:30
..
cppi41.c dmaengine: ti: deprecate '#dma-channels' 2022-05-19 22:58:02 +05:30
dma-crossbar.c dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate 2022-06-09 11:30:31 +05:30
edma.c dmaengine: ti: edma: Remove some unused functions 2022-09-29 21:25:37 +05:30
k3-psil-am62.c dmaengine: ti: k3-psil-am62: Update PSIL thread for saul. 2022-04-22 11:30:43 +05:30
k3-psil-am64.c dmaengine: ti: k3-psil: Add initial map for AM64 2020-12-11 21:20:09 +05:30
k3-psil-am654.c dmaengine: ti: k3-psil: make symbols static 2020-01-21 13:10:24 +05:30
k3-psil-j721e.c dmaengine: ti: k3-psil: add additional TX threads for j721e 2022-09-29 21:48:09 +05:30
k3-psil-j721s2.c dmaengine: ti: k3-psil-j721s2: Add psil threads for sa2ul 2022-07-01 17:17:30 +05:30
k3-psil-j7200.c dmaengine: ti: k3-psil: add additional TX threads for j7200 2022-09-29 21:48:09 +05:30
k3-psil-priv.h dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data 2022-03-11 12:32:53 +05:30
k3-psil.c dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data 2022-03-11 12:32:53 +05:30
k3-udma-glue.c dmaengine: ti: k3-udma-glue: fix memory leak when register device fail 2022-11-08 10:43:56 +05:30
k3-udma-private.c dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get() 2022-09-05 11:53:46 +05:30
k3-udma.c dmaengine: ti: k3-udma: Respond TX done if DMA_PREP_INTERRUPT is not requested 2022-09-29 22:46:09 +05:30
k3-udma.h dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA 2020-12-11 21:20:10 +05:30
Kconfig dmaengine: ti: k3-udma: Drop COMPILE_TEST for the drivers for now 2020-04-15 21:25:25 +05:30
Makefile dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data 2022-03-11 12:32:53 +05:30
omap-dma.c dma: omap: hide legacy interface 2022-04-22 11:08:43 +02:00