Bluetooth: btmrvl: fix firmware dump issue
authorNachiket Kukade <kukaden@marvell.com>
Fri, 18 Sep 2015 13:40:40 +0000 (06:40 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 22 Sep 2015 09:51:19 +0000 (11:51 +0200)
commit475b9eacc5543eea922431bb8ac4ec761de0e415
tree28ae0e34b72389b219471740bf529ebb7157d36b
parent97170ea1823bf00cf6ed0f503129e9053a66c53a
Bluetooth: btmrvl: fix firmware dump issue

First firmware dump attempt from user works fine, but firmware goes
into bad state after this. Subsequent attempts fails.

As required by the firmware dump implementation, this change writes
FW_DUMP_READ_DONE value to dump ctrl register to address this issue.

Signed-off-by: Nachiket Kukade <kukaden@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c