From 7692a06b9a697320416d1a74f276db30816a4daa Mon Sep 17 00:00:00 2001 From: Jiamin Miao Date: Mon, 13 Jul 2015 19:28:28 +0800 Subject: [PATCH] PD#108916:change to use low level irq trigger for wifi wakeup Change-Id: Iec6238a36de36c209ca80bc59a9e8edd49ed9ef2 --- bcmdhd_1_201_59_x/Makefile | 2 +- bcmdhd_1_201_59_x/bcmsdh_sdmmc.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bcmdhd_1_201_59_x/Makefile b/bcmdhd_1_201_59_x/Makefile index a706508..d33381b 100644 --- a/bcmdhd_1_201_59_x/Makefile +++ b/bcmdhd_1_201_59_x/Makefile @@ -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 diff --git a/bcmdhd_1_201_59_x/bcmsdh_sdmmc.c b/bcmdhd_1_201_59_x/bcmsdh_sdmmc.c index 4bdd47e..f5ece15 100644 --- a/bcmdhd_1_201_59_x/bcmsdh_sdmmc.c +++ b/bcmdhd_1_201_59_x/bcmsdh_sdmmc.c @@ -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 */ -- 2.20.1