diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2011-03-21 11:35:42 +0530 |
---|---|---|
committer | Nitin Kumbhar <nkumbhar@nvidia.com> | 2011-03-21 11:35:42 +0530 |
commit | ca83a98c25a409e9d831b7c4cff9e9fbda243a8d (patch) | |
tree | e3154748d8d12b20fa8ff1f042cf167c5f743904 /drivers/net/wireless/bcm4329/bcmsdh_linux.c | |
parent | a2ec163cba01aec15cce0dda1b989f8b7acf1f4b (diff) | |
parent | c93a3daa853cfb5c2d1b89b8db6c654c458097a1 (diff) |
merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36
Change-Id: I517760af5756279b41836062063bdcaa04e5bfef
Diffstat (limited to 'drivers/net/wireless/bcm4329/bcmsdh_linux.c')
-rw-r--r-- | drivers/net/wireless/bcm4329/bcmsdh_linux.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm4329/bcmsdh_linux.c b/drivers/net/wireless/bcm4329/bcmsdh_linux.c index 1e33555b0531..94f19a1c46a4 100644 --- a/drivers/net/wireless/bcm4329/bcmsdh_linux.c +++ b/drivers/net/wireless/bcm4329/bcmsdh_linux.c @@ -643,6 +643,20 @@ int bcmsdh_register_oob_intr(void * dhdp) return 0; } +void bcmsdh_set_irq(int flag) +{ + if (sdhcinfo->oob_irq_registered) { + SDLX_MSG(("%s Flag = %d", __FUNCTION__, flag)); + if (flag) { + enable_irq(sdhcinfo->oob_irq); + enable_irq_wake(sdhcinfo->oob_irq); + } else { + disable_irq_wake(sdhcinfo->oob_irq); + disable_irq(sdhcinfo->oob_irq); + } + } +} + void bcmsdh_unregister_oob_intr(void) { SDLX_MSG(("%s: Enter\n", __FUNCTION__)); |