Add hub support from the KU5900 drop
hub: Fix p970 build breakages, add CM defconfig
usb: gadget: adb: Only enable the gadget when adbd is ready

When adb is enabled, only connect the gadget when adbd is ready. If adbd
dies or is restarted (e.g. "adb root"), the gadget is disconnected when
the adb device is close, and it is re-connected once adb re-open the
device.

- Add callbacks to adb, similar to FunctionFs callbacks, to notify the
  gadget when the daemon is ready or closed.
- Refcount calls to android_enable/android_disable to enable the gadget
  only once all the function daemons are ready.
- Add enable/disble to android_usb_function to notify the function when
  it is added/removed from the list of enabled functions.

Change-Id: Id54ff85aec9cf8715c94b4f9bd6137a79ad58bfc
Signed-off-by: Benoit Goby <benoit@android.com>

Conflicts:

	drivers/usb/gadget/android.c
muic: Fix disconnect detection on the p970
usb: gadget: android: Get back to RNDIS instead of LGE's ECM stuff

... and use the standard sysfs node naming
hub: Fixup cmdline arguments for compatibility with the older bootloader
bcm4329: Separate wl_start functionality between STA and AP modes

AP needs a reset to start properly, STA can't have a reset upon
leaving suspend or else it'll hang the SDIO bus, so satisfy both
requirements
leds-bd2802: Fix the lack of blue LED variation
hub_bd_address: Return bdaddr in patchram's format

This allows brcm_patchram_plus to properly set the BT address
from sysfs, in userspace
Updated CM defconfig
sniper: Go to recovery in case of kernel panic

This needs to be here to prevent deadlocks during kernel development.
An unbootable kernel would make the device stuck until reflashed due
to the lack of a hardware combo into recovery
OMAPFB: Asynchronous vsync notification

Enabled and disabled through new OMAPFB_ENABLEVSYNC ioctl.  Events delivered
as switch events.

Change-Id: Ie473d96732c5bf2259bac6205d0295d698e6e48b
Signed-off-by: Erik Gilling <konkers@android.com>
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
leds-bd2082: Modify the earlysuspend sequences

Avoid hrtimer issues when entering early suspend by cancelling
all work queues and maintaining a suspension state flag
bj_motion: Don't cancel timers for inactive sensors
hub_synaptics: Pull in the IRQ/workqueue/backlight changes from KU5900
Revert "hub_synaptics: Pull in the IRQ/workqueue/backlight changes from KU5900"

This reverts commit d2df7c9b33e71e4ff3b7ef7d849fe95abd2e89f2.
Revert "bj_motion: Don't cancel timers for inactive sensors"

This reverts commit d0830b265370675a4af6ef4b40da1b5096386904.
Revert "leds-bd2082: Modify the earlysuspend sequences"

This reverts commit 7071a352684d9f2bc19cd5d57fdd3e0d60b5b9e6.
Revert "sniper: Go to recovery in case of kernel panic"

This reverts commit 4038fef3aba087f12d8e96e2175492f217ef2080.
Revert "Updated CM defconfig"

This reverts commit dac379f0b2e3be73911cf76e8f221901046f81ae.