Commit 1efef08e authored by Jeff Hugo's avatar Jeff Hugo Committed by Bryan Huntsman
Browse files

msm: sdio_cmux: fix corner case in back to back probes



If back to back probes occur because of subsystem restart, and
sdio_open() fails multiple times, sdio_cmux_probe() could attempt to
re-free an already freed workqueue, causing a kernel panic.

The cmux workqueues should not be freed once allocated and the driver
goes into the initialized state.  Change the error handling to correct
that.

CRs-Fixed: 295466
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 67141e30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment