[ Upstream commit 44fd1917314e9d4f53dd95dd65df1c152f503d3a ]
If an error occurs after a successful idr_alloc() call, the corresponding
resource must be released with idr_remove() as already done in the .remove
function.
Update the error handling path to add the missing idr_remove() call.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| alcor_pci.c | ||
| rtl8411.c | ||
| rts5209.c | ||
| rts5227.c | ||
| rts5228.c | ||
| rts5228.h | ||
| rts5229.c | ||
| rts5249.c | ||
| rts5260.c | ||
| rts5260.h | ||
| rts5261.c | ||
| rts5261.h | ||
| rtsx_pcr.c | ||
| rtsx_pcr.h | ||
| rtsx_usb.c | ||