net: wireless: bcmdhd: Update to Version 5.90.195.46

- Fix WEXT compilation
- Start SoftAP in G-band only
- Fix IF_DEL timeout due to wrong status check
- Fix P2P to pass certification
- Enable arpoe in concurrent mode by default
- Fail to start sched scan in P2P GO

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Turn off DHD_USE_EARLYSUSPEND option

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

Conflicts:

	drivers/net/wireless/bcmdhd/Makefile
net: wireless: bcmdhd: Add CONFIG_DHD_ENABLE_P2P Kconfig option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix crash in dhd_preinit_ioctls() band set

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Remove WL_CFG80211_STA_EVENT config option

This breaks tethering (with the current FW to-date) on 2.6.39
Essentially a revert of 4c1f15fbd81db2e6f923662ce355089905cfd632
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>
net: wireless: bcmdhd: Move FW hang processign to work queue

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Makefile: Switch to hardfp
Version bump (2.3.1)
ARM: tegra: stingray: Increase delay after enabling power ON to 300 ms

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
ARM: tegra: pm: keep a local cpu online mask for lp2 idle

Keep a local mask of cpus that are online, and mark a cpu
online before it is every brought out of reset.  Fixes a
problem when turning on the second cpu where the first cpu
may think that all cpus are idle while the second cpu is
still booting.  Locking around the online mask is
unnecessary because the the cpu that modifies the mask
must be outside of idle, so the online mask can never
equal the idle mask while it is being modified.

Change-Id: If703a16e5e7e3b0e316ab15083336fbe09814f36
Signed-off-by: Colin Cross <ccross@android.com>
mmc: sdhci-tegra: Add SDHCI_QUIRK_BROKEN_CARD_DETECTION

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
mmc: sdhci: Prevent sdhci irq handler to schedule card detect if it is broken

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
HACK: ARM: tegra: pm: disallow lp2 while hotplugging in suspend

Strange crashes occur during enable_nonboot_cpus if lp2 is
enabled.  Disable it in the platform prepare_late handler, and
enable it in the platform wake handler.

Change-Id: If2c91139499fcaa2011f973b57c4dc83d1ecae67
Signed-off-by: Colin Cross <ccross@android.com>
usb: gadget: f_usbnet: Do not enable intr_out ep

Using intr_out ep w/o specifying MaxPacketSize was causing
eventual USB enumeration failure.

Intr_out ep is actually no longer used so it will be disabled
now to avoid the failure. Function config will be kept same
to match with Windows driver for now.

Change-Id: I9c2ccde5ea4d38569304650e97cd84cba9a67781
Signed-off-by: Kazuhiro Ondo <kazuhiro.ondo@motorola.com>
ARM: tegra: Gadget USB optimization

- Added AHB shared clock to gadget usb controller.
- Increased inactivity timeout of memory pre-fetch.

Change-Id: Ie8a0df5a677c05543ab66fa0a2a404ad1649d073
Signed-off-by: Kazuhiro Ondo <kazuhiro.ondo@motorola.com>
usb: gadget: Gadget USB optimization

- Set AHB bus clock to 240Mhz when USB1 gadget is enabled.
- Set "stream disable" in USB mode.

Bug: 943259
Change-Id: I2c04655338e1e831ccdddef0480c162677714c7f
Signed-off-by: Kazuhiro Ondo <kazuhiro.ondo@motorola.com>
usb: gadget: fsl_udc_core: re-prime USB controller

USB controller might stop processing dTD list even if the list
is not exhaused. Make sure to re-prime controller if controller
is found to be stopped.

Bug: 6110002
Change-Id: I669f7833359c9d7d3dbc2a413047f8e3907b6bfd
Signed-off-by: Kazuhiro Ondo <kazuhiro.ondo@motorola.com>
net: wireless: bcmdhd: Add 'wlan_ctrl_wake' wakelock

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