PD#108916:change to use low level irq trigger for wifi wakeup
authorJiamin Miao <jiamin.miao@amlogic.com>
Mon, 13 Jul 2015 11:28:28 +0000 (19:28 +0800)
committerJiamin Miao <jiamin.miao@amlogic.com>
Mon, 13 Jul 2015 11:35:03 +0000 (19:35 +0800)
Change-Id: Iec6238a36de36c209ca80bc59a9e8edd49ed9ef2

bcmdhd_1_201_59_x/Makefile
bcmdhd_1_201_59_x/bcmsdh_sdmmc.c

index a7065082ceaf8b4d62c289a76b45c34609bde16b..d33381b1f42e61cdc8d8894aadd9644a07d72226 100644 (file)
@@ -62,7 +62,7 @@ dhd-objs += $(DHDOFILES)
 
 #ifeq ($(CONFIG_MACH_ODROID_4210),y)
 DHDOFILES += dhd_gpio.o
-DHDCFLAGS += -DCUSTOMER_HW -DDHD_OF_SUPPORT -DCUSTOMER_HW_AMLOGIC
+DHDCFLAGS += -DCUSTOMER_HW -DDHD_OF_SUPPORT -DCUSTOMER_HW_AMLOGIC -DHW_OOB_LOW_LEVEL
 #DHDCFLAGS += -DBCMWAPI_WPI -DBCMWAPI_WAI
 #endif
 
index 4bdd47eff93ee06658c585933889ff99e190a5ce..f5ece15f532a235fcfea836ce3daa7ee11e596c9 100644 (file)
@@ -712,7 +712,11 @@ sdioh_enable_hw_oob_intr(sdioh_info_t *sd, bool enable)
        uint8 data;
 
        if (enable)
+#ifdef HW_OOB_LOW_LEVEL
+               data = SDIO_SEPINT_MASK | SDIO_SEPINT_OE;
+#else
                data = SDIO_SEPINT_MASK | SDIO_SEPINT_OE | SDIO_SEPINT_ACT_HI;
+#endif
        else
                data = SDIO_SEPINT_ACT_HI;      /* disable hw oob interrupt */