mwifiex: claim sdio bus while downloading the firmware
authorAniket Nagarnaik <aniketn@marvell.com>
Thu, 6 Aug 2015 07:39:16 +0000 (00:39 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 13 Aug 2015 12:35:55 +0000 (15:35 +0300)
commitcb9d61e5304e2880180e4ccf685a298c868094e0
tree1c27726dedd7766ddd82ff8feb65f0528bdbb04d
parent2375fa2b36feaf34c7728ee999dc4d8f4d92031d
mwifiex: claim sdio bus while downloading the firmware

Our 8887 A2 chip can have separate firmware images for
bluetooth and WLAN. We observed an issue during parallel
downloading of these images by btmrvl and mwifiex drivers.

This patch claims sdio bus before starting of the firmware
download in mwifiex and releases it after completion to
fix the problem.

Signed-off-by: Aniket Nagarnaik <aniketn@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/sdio.c