commit | 1efef08e36674ee28b00e14e524b809a6aa85ee0 | [log] [tgz] |
---|---|---|
author | Jeff Hugo <jhugo@codeaurora.org> | Wed Jul 13 13:02:38 2011 -0600 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:17:13 2011 -0700 |
tree | 48c5f49ad7bb2c19456d604979368c945641229c | |
parent | 67141e301b814c98970df8a4219549c0e54a03ed [diff] |
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: Jeffrey Hugo <jhugo@codeaurora.org>