net: wireless: bcmdhd: Change singal pending return value from -110 to -4

- ETIMEDOUT is interpreted as FW is not responding,
  so return EINTR instead

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix WARN_ON(!res->pub.channel)

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Check return value from dhd_dev_init_ioctl()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Ignore signal_pending() while waiting in IOCTL

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Haavard Skinnemoen has left Atmel

Haavard's e-mail address at Atmel is no longer valid.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Havard Skinnemoen <hskinnemoen@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit e05503ef1186ad33dfe56794407891eb1dd93ef6)
net: wireless: bcmdhd: Fix division by 0 if dhd_watchdog_ms is 0

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit 1dd2d69ca040ba6685c0f78b11f6aaa0f223d6cc)
defconfig: ics: unset CONFIG_USB_SEC_WHITELIST (by request of peeter123)
mmc: make number of mmcblk minors configurable

The old limit of number of minor numbers per mmcblk device was hardcoded
at 8.  This isn't enough for some of the more elaborate partitioning
schemes, for example those used by Chrome OS.

Since there might be a bunch of systems out there with static /dev
contents that relies on the old numbering scheme, let's make it a
build-time option with the default set to the previous 8.

Also provide a boot/modprobe-time parameter to override the config
default: mmcblk.perdev_minors.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Mandeep Baines <msb@chromium.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I86de89c4fae878f077743f58127cc8afa0c58f2a
Reviewed-on: http://git-master/r/53023
Reviewed-by: Allen Martin <amartin@nvidia.com>

Conflicts:

	drivers/mmc/card/block.c
mmc: MMC_BLOCK_MINORS should depend on MMC_BLOCK.

Signed-off-by: Chris Ball <cjb@laptop.org>
Tested-by: Chris Ball <cjb@laptop.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: Ib4331ca6cc6339754dab53f5eea60398fe8a389e
Reviewed-on: http://git-master/r/53024
Reviewed-by: Allen Martin <amartin@nvidia.com>
mmc:Add ddr mode support for eMMC v4.4

Adding ddr mode support for eMMC v4.4 cards.
If the card and host controller support ddr mode,
configuring it. Setting clock divisor as 1 in case
ddr mode is configured.

Original-Change-Id: I94c7f2c4d23e856a67ccf312672e5f1eaee04a91
Reviewed-on: http://git-master/r/13798
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Change-Id: I79cd2f6a5ca1e8e00e4bceed5fdf61b4543aa1e4
mmc: fix card detect after suspend

If defered SD card resume (CONFIG_MMC_BLOCK_DEFERRED_RESUME) is enabled,
PM_POST_SUSPEND handler will never set host->rescan_disable back to 0,
and card detect logic will be disabled forever.

fix missing break

fix incorrect cleanup sequences

Bug 833034

See http://git-master/r/36251
(cherry picked from commit 31d509d8e2e2b7c35da69029f932d35c3995fe36)

Change-Id: Ia0c7b82ac6590fa2ea05de13c32d699604718176
Reviewed-on: http://git-master/r/36447
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Conflicts:

	drivers/mmc/core/core.c
defconfig: ics: regen and set MMC_BLOCK_DEFERRED_RESUME
net: wireless: bcmdhd: Fix WPS PBC overlap failure

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
defconfig: ics: set NVMAP_VPR
net: wireless: bcmdhd: Make responce waiting uninterruptible

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Fix P2P driver crash for MFG firmware

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Revert "bcmdhd: Fix IBSS (ad-hoc) network support"

This reverts commit 0b4dce69a18f485a2756b582367f68e7dab1a8ba.
net: wireless: bcmdhd: Update to version 5.90.195.75

- Fix false PCB-OVERLAP issue
- Fix simultanious connect request on two P2P devices

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
touchscreen: atmel_mxt1386: sync with GSIII, Update 1

-input.c:
 add missing slot/trkid (in input_mt_destroy_slots) assignments from input-mt

-reference: https://github.com/sgs3/GT-I9300_Kernel
wireless: bcmdhd: remove unused USE_SECFEATURE