msm: sdio_cmux: Deinit the channel variables in proper sequence

When the logical channel is closed, de-init the channel variables in
proper sequence while holding appropriate locks. This will avoid race
condition between channel close and any channel events.

Change-Id: Ib0c53380a909c0737ff3f4a9eee1b2accbf2d2e6
CRs-Fixed: 312930
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
1 file changed