qca: fix kw issues

Change-Id: I25b62362e28ee64329a9a587491e69cf0e358334
Signed-off-by: Santan Kumar <santank@codeaurora.org>
diff --git a/board/qca/arm/ipq807x/ipq807x.c b/board/qca/arm/ipq807x/ipq807x.c
index 52a3e50..250444f 100644
--- a/board/qca/arm/ipq807x/ipq807x.c
+++ b/board/qca/arm/ipq807x/ipq807x.c
@@ -425,7 +425,7 @@
 
 int board_mmc_init(bd_t *bis)
 {
-	int ret;
+	int ret = 0;
 	qca_smem_flash_info_t *sfi = &qca_smem_flash_info;
 
 #ifndef CONFIG_SDHCI_SUPPORT
@@ -705,7 +705,8 @@
 	}
 	else if (index == 1) {
 		phybase = USB1_SSPHY_BASE;
-	}
+	} else
+		return;
 
 	out_8( phybase + USB3_PHY_POWER_DOWN_CONTROL,0x1);
 	out_8(phybase + QSERDES_COM_SYSCLK_EN_SEL,0x1a);