msm: bam_dmux: clean up after write failure

If the packet is unable to be queued to BAM, all references to data
structures must be removed from shared lists and the resources released.

CRs-Fixed: 316304
Change-Id: I73d48c585648787000d5e6bf6a9da55f721dddf6
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
1 file changed