net: wireless: bcmdhd: Enable P2P probe request handling only during discovery

Change-Id: I2db29d5ed7f66f2a45feb890c81d510fcad24dd2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
video: tegra: host: better error handling in alloc_gathers()

We should return -ENOMEM in alloc_gathers() when get a NULL pointer
from nvmap_alloc() or nvmap_mmap()

Bug 1178135

Change-Id: I29321710343983a6e733d95b10a1f7eb586246c0
Signed-off-by: Haley Teng <hteng@nvidia.com>
Proximity: Enable sensor by it's previous RIL setting when device resume from suspend.

Change-Id: Id5b0bfaa79d62e5c41fa704470cf82bf7a0fefac
Camera: fine-tune mi1040 power sequence.

Change-Id: I6d9b8710a0c6c685252a36f2ca7957aadf923221
Assign the default value to the interrupt register variable.

This is to avoid that the unknown value is restored in resuming if the system failed to suspend.

Change-Id: I22e19c9e9def26afa9a104043abddd9ad6b45b79
Revert "This is to workaround that the bits USB_VBUS_INT_EN, USB_VBUS_WAKEUP_EN, USB_ID_INT_EN"

This reverts commit 714b6a0dbdacfdc54dd607864c23ca4aaf1aed1c.
arm: tegra: usb_phy: disable PMC mode for USB1

Both ehci host and udc device are registered on USB1. Thus we
have both device and host mode phy for USB1.
In this case, when we back from LP0, utmi_phy_power_on()
were called twice, one for device mode and the other for host mode.
For the device mode, it's called by fsl_udc_resume() then the phy
is turned off right after the udc driver detected the id pin is low
(we are working on host mode). However, the PMC is enabled for
usb1 now by calling utmip_powerdown_pmc_wake_detect(), which
is call by utmi_phy_power_off().

PMC mode needs to be disabled to switch the pin control back to the
host controller.

bug 984119

Change-Id: I7bcce88cf5f42e0cbf3ee2d0cc24bbcadf3d51e9
Signed-off-by: Ken Chang <kenc@nvidia.com>
arch: arm: xmm: Update the baseband xmm power state for the race condition issue.

Avoid the L3 and then get the modem interrupt to generate CP L2 -> L0 issue
because the baseband xmm power state was updated.

Change-Id: Ic4a2147102b80635dadc75a7ea1abb39baf53e44
driver: ril: check the modem hang pin when the system resume.

Change-Id: I61e17df16260cc9434d60cf84e6d4ac3ba3addd7
Revert "Revert "net: wireless: bcmdhd: Fix WD wakelock behavior""

This reverts commit 22b4fcde206e96f57bf0a111403fc3d75532918a.
net: wireless: bcmdhd: Avoid suspend on watchdog

Change-Id: Ic41a8f369a2ee8b2a0084e6a1cbf6b454ff53353
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Increase PNO wakelock to 7 sec

Change-Id: Ife7bac08d16e19b37d16f697e4ad9765ca6efbb7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Postpone taking wd_wake lock

Change-Id: I3926d7a1a357d173144f408996f35f0929db711e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix PEAP with dynamic WEP

Change-Id: I62dffdb3b759ea5ccdf9f7ea0f0e67f928ace92b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Update to version 5.90.195.114

- Get AP beacon and DTIM to set proper DTIM skipping

Change-Id: I6bc23f050c144bf8361078ad587bcadbfe3a37fc
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
tegra3_android_defconfig: Enable CONFIG_EXT4_FS_SECURITY option
net: wireless: bcmdhd: Add SUPPORT_PM2_ONLY option

Change-Id: Ieb2569cb7fb2bbc56ff9abbc8728a7741fda0027
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Enable SUPPORT_PM2_ONLY mode

Change-Id: I4f8132191454f0a12f7613388229fed9be5216c9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
ARM: tegra: grouper: Enable 802.11n for Russia.

Replace RU to XY.

Change-Id: I3ecb1f247f7419e511031e13cb85c23693b668ff
To make charger-ic to be able to detect charger type when battery out of power.

Change-Id: I29acee37aed5594e218ba24c8bd4840bd95bf476