summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-12-22 01:56:57 (GMT)
committerTejun Heo <tj@kernel.org>2012-12-28 21:40:15 (GMT)
commit7f5855c979ef0d49a8680b7fbdd3fc8e3093cb73 (patch)
tree5a4a892ce8819d5ce4313348d1a6b7bd333679f2 /drivers/platform
parent1cab3f9fcc7ecaf70c77a10032b4757f769e345b (diff)
downloadlinux-fsl-qoriq-7f5855c979ef0d49a8680b7fbdd3fc8e3093cb73.tar.xz
mwifiex: don't use [delayed_]work_pending()
Drop work_pending() test from mwifiex_sdio_card_reset(). As work_pending() becomes %false before sdio_card_reset_worker() starts executing, it doesn't really protect anything. reset_host may change between mmc_remove_host() and mmc_add_host(). Make sdio_card_reset_worker() cache the target mmc_host so that it isn't affected by mwifiex_sdio_card_reset() racing with it. Only compile tested. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Bing Zhao <bzhao@marvell.com> Cc: linux-wireless@vger.kernel.org
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions