Revert "sdio: optimized SDIO IRQ handling for single irq"

This reverts commit 2d058451c80fd23539f14be919a74a34c3525f94.
Revert "wireless: bcmdhd: use wlan_mem_prealloc for CUSTOMER_HW_SAMSUNG"

This reverts commit a5db4c2af95423fda6ed281023f229861410099b.
defconfig: ics: unset BROADCOM_WIFI_RESERVED_MEM
cpufreq_conservative: Reduce minimum polling interval

This permits conservative to be more responsive

Original credit for this goes to netarchy's Infuse commit from mid-2011

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
cpufreq_conservative: Change default tuning settings

Half the polling rate, but more aggressive up/down thresholds.

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
gitignores: Add a number of files automatically generated by the build process

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
defconfig: ics: Enable conservative governor

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
video: tegra-ics: increase MAX_STUCK_CHECK_COUNT and SYNCPT_CHECK_PERIOD
net: wireless: bcmdhd: Daemonize wl_event_handler

Daemonizing makes thread (besides other things) NON-FREEZABLE, and it will not
get fake signal on suspend to quicl down_interruptible()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix crash on dhdsdio_probe_attach() failure

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

Conflicts:

	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux.c
net: wireless: bcmdhd: Increase pm_notify callback priority

Make pm_notify callback to be called the first on suspend/resume path to
ensure it will always be called.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix driver hang when resetting

bus->tx_max was not being initialized when we do a reset and
the driver is statically linked.  this led to about a 50%
chance that it would be considered an illegal value when
we send the mac address to the FW.  add code to initialize
it to a safe value until we receive the right value from the fw.

Bug: 5974574

Change-Id: I28ab25d97203ef075e5354c25f85a25daaff5594
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Turn interface down (only) in case of FW crash

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Minor cleaning

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Always turn Off wlan power on interface down

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers: wireless: bcmdhd: clear pending interrupts before irq release

While using inband interrupt and SDIO_ISR_THREAD defined,
wifi irq handler run in context of ksdioirqd.
While turning off wifi, bcmdhd driver releases irq in a different thread.
If there is a pending wifi interrupt(not served) it never get cleared as driver
has removed the irq handler.

Bug 857429

Change-Id: Ib9b041f49d18e973824a5a5b9ce4a6d771b231ca
Reviewed-on: http://git-master/r/60220
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
net: wireless: bcmdhd: Add constant mDNS filter

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Set probe_resp.timestamp value to scan results

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com
net: wireless: bcmdhd: Fix frame sequence lag issue

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix FW hang recovery

- Reduce IOCTL responce timeout to 2 sec (from 20)
- Fix pending status in case of timeout
- Pass error code from dhd_is_associated() call
- Call cfg80211_disconnected() if no timeout detected

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>