Operational queue creation and deletion routines duplicated cleanup logic
across multiple error paths. This open-coded cleanup resulted in leaked
queue spinlocks, unfreed DMA memory, and leaked DMA tags without clearing
dangling pointers. In addition, when re-creating queues after a controller
reset, a failure during queue setup rolled back only the newly attempted
queues, leaving any existing queues beyond the failure point untouched and
leaked when queue arrays were freed.
Consolidate queue teardown into a common helper that unloads DMA maps, frees
allocated DMA memory, destroys and nullifies DMA tags, and destroys queue
locks cleanly. Use this helper across queue creation error paths, queue
deletion, and the overall queue configuration rollback loop.