mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2026-06-09 03:00:55 +02:00
In order to free resources correctly in the error handling path of
pt_core_init(), 2 goto's have to be switched. Otherwise, some resources
will leak and we will try to release things that have not been allocated
yet.
Also move a dev_err() to a place where it is more meaningful.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ptdma-debugfs.c | ||
| ptdma-dev.c | ||
| ptdma-dmaengine.c | ||
| ptdma-pci.c | ||
| ptdma.h | ||