kernel: Adding FLAGS required by the wifi.
authorAymen Zayet <aymenx.zayet@intel.com>
Mon, 21 Nov 2011 18:04:11 +0000 (19:04 +0100)
committerbuildbot <buildbot@intel.com>
Mon, 28 Nov 2011 19:38:14 +0000 (11:38 -0800)
BZ: 15061

Actually, the wifi driver is based on compat wireless modules that
requires WL12XX_PLATFORM_DATA to be enabled within the kernel. So
it shall be enabled by default with WL12XX.

The wifi uses two AON gpios and thus the wifi interrupt handler is
forwarded by the GPIO driver. So to prevent losing wifi interrupts,
HARDIRQS_SW_RESEND shall be used.

Change-Id: Ic61fd84cc2ef849e7b97bb90164e53b9f0ba944d
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/25377
Reviewed-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Tested-by: Champciaux, NicolasX <nicolasx.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/Kconfig
drivers/net/wireless/wl12xx/Kconfig

index 5d96500..e8ef267 100644 (file)
@@ -395,6 +395,10 @@ config X86_INTEL_MID
 
 if X86_INTEL_MID
 
+config HARDIRQS_SW_RESEND
+       bool
+       default y
+
 config X86_MRST
        bool "Moorestown MID platform"
        depends on PCI
@@ -405,6 +409,7 @@ config X86_MRST
        select SPI
        select INTEL_SCU_IPC
        select X86_PLATFORM_DEVICES
+       select HARDIRQS_SW_RESEND
        ---help---
          Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
          Internet Device(MID) platform. Moorestown consists of two chips:
index 35ce7b0..870e004 100644 (file)
@@ -64,5 +64,5 @@ config WL12XX_SDIO_TEST
 
 config WL12XX_PLATFORM_DATA
        bool
-       depends on WL12XX_SDIO != n || WL1251_SDIO != n
+       depends on WL12XX_SDIO != n || WL1251_SDIO != n || WL12XX
        default y