msm:board-msm7627a-bt: Correct power down sequence avoids i2c errors

In the WCN power down sequence, i2c writes were down
after putting the SOC in power down mode. This results
in i2c errors - "slave not connected".
Changing this sequence avoids these errors.

Change-Id: I92c6751fd017ebb54fad2ea6d1923ebec404e80c
Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm7627a-bt.c b/arch/arm/mach-msm/board-msm7627a-bt.c
index dca9b8b..d4f06fa 100644
--- a/arch/arm/mach-msm/board-msm7627a-bt.c
+++ b/arch/arm/mach-msm/board-msm7627a-bt.c
@@ -862,6 +862,11 @@
 		if (rc < 0)
 			pr_err("%s: bahama_bt rc = %d", __func__, rc);
 
+		rc = msm_bahama_setup_pcm_i2s(BT_PCM_OFF);
+		if (rc < 0) {
+			pr_err("%s: msm_bahama_setup_pcm_i2s, rc =%d\n",
+				__func__, rc);
+		}
 		rc = bt_set_gpio(on);
 		if (rc) {
 			pr_err("%s: bt_set_gpio = %d\n",
@@ -884,11 +889,6 @@
 					bt_config_power_off[pin], rc);
 			}
 		}
-		rc = msm_bahama_setup_pcm_i2s(BT_PCM_OFF);
-		if (rc < 0) {
-			pr_err("%s: msm_bahama_setup_pcm_i2s, rc =%d\n",
-				__func__, rc);
-		}
 fail_power:
 		rc = bluetooth_switch_regulators(0);
 		if (rc < 0) {