USB: MUSB: Fix: Device detection for disconnect-connect in less than a sec

It is observed that when a device is removed and connected with less
than a second time gap, we get the following error message and enumeration
fails:

"musb_stage0_irq 790: unhandled DISCONNECT transition(a_idle)"

This patch changes the delay to invoke musb_do_idle() to 0 (~7ms) so
that hotplug of devices done within a second time frame are also detected.

Change-Id: I84e66716ea43a67806af4857932b46133d665eb5
Signed-off-by: Madhava Chirukuri <x0172945@ti.com>
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
usb: otg: OMAP4: Fix the omap4430_phy_set_clk function

If the clocks are enabled and we want to enable them again
omap4430_phy_set_clk disables them.

Fix this - so now if we try to enable already enabled clocks
it works correctly.

Change-Id: I657e13651c908eaa7caf2fd4ff86028c50902fd6
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
OMAPDSS: DSS: Complete callbacks on mgr->blank if not wait_for_go

Disabled panels do not clear GO automatically, therefore, we
assume no wait_for_go on disabled panels.

When not waiting for GO, complete all pending composition
callbacks regardless of dirty state, as dirty state will not
be propagated.

Change-Id: Ic5ddd81414bab56d136a716907fd8e6dfa0f795f
Signed-off-by: Lajos Molnar <lajos@ti.com>
OMAPDSS: DSS: Fix wait_for_go support on mgr->blank() for manual update panels

Manual update panels do not clear GO automatically.  For these panels we need
to call update so that GO gets cleared.

Change-Id: Idb446af8c77553cec8baf7af893d180cfbaa7582
Signed-off-by: Lajos Molnar <lajos@ti.com>
gcx: gccore: move gccore directory into new parent dir

Change-Id: I021b270ed405be06936bc3b40f71dd1406affdc6
Signed-off-by: David Sin <davidsin@ti.com>
gcx: gccore: adjust make/build files to support new dir struct

Change-Id: Ibb888040350dc8e61e1540b3c2ff3b08370d8ff2
Signed-off-by: David Sin <davidsin@ti.com>

Conflicts:
	drivers/misc/Kconfig
gccore: rename main directory

Change-Id: I996ade2202b62e4252628792eca7bdaf84d51cf6
Signed-off-by: David Sin <davidsin@ti.com>
gccore: make/build file changes

changed gc-core to gccore, so fix the make files

Change-Id: Ibf64ba1a605dd21e6ab0b320ce3d9fcd0cdf0989
Signed-off-by: David Sin <davidsin@ti.com>

Conflicts:
	drivers/misc/Kconfig
omap: gcxxx: Add initial omap gcxxx device file.

To be used to intialize the Vivante gc-core driver for 2d hw blts on omap.

We need to also pass a common plat data struct to the driver, so we add it
to the pubic gccore driver header.  Since it needs to be shared, relocate
the header to include/linux and fix-up driver source paths.

Change-Id: I8e90809d70e083dc02e3f124c082873022f969a1
Signed-off-by: David Sin <davidsin@ti.com>
gcx: vivante gcx update

this is the 1/20 update from vivante, which separates
ioctl, gcbv, and gccore.

Change-Id: I291ffefc28b64238ae866ea9bbeb117f4226c99f
Signed-off-by: David Sin <davidsin@ti.com>
gcx: pull find context logic back into gccore.

we need to find the process context in gccore and
not in gcioctl so that kernel clients will work.

the only map, commit, and unmap should be exposed
by gccore to its clients.

Change-Id: Iaadb1029dadf0ed9c4463589ba90b5b307f07f36
Signed-off-by: David Sin <davidsin@ti.com>
gcioctl: Rename gcmain to gcif

(gcif = GC interface) to avoid confusion with same named file in gc-core.

Signed-off-by: Bo Najdrovsky <bo@ti.com>
gcioctl: Removed all BLTsville related information

Signed-off-by: Bo Najdrovsky <bo@ti.com>
gcioctl: fix Makefile for renamed src module
Signed-off-by: Bo Najdrovsky <bo@ti.com>
gccore: get rid of g_context after moving find_context back into gccore

Change-Id: I269b0969bc5d9d7589239b93df6ac940ca65b0cb
Signed-off-by: David Sin <davidsin@ti.com>
gccore: set all context IDs to zero

we need to eventually find a way to distinguish b/t
user and kernel contexts by checking the physical page
array.

Change-Id: Id22eaae774a87ef3cbb7abd24c415b5098e916dd
Signed-off-by: David Sin <davidsin@ti.com>
gcioctl: add physical page count/array

Change-Id: Ifb74fb27f1c9bd6e4a692237dcb95421d4424fff
Signed-off-by: David Sin <davidsin@ti.com>
gccore: init physical mem params for kernel clients

Change-Id: I3ce87e1e060e7f9def3631fa542b67faaa63a8f3
Signed-off-by: David Sin <davidsin@ti.com>
gcioctl: we should not pass phys mem info from user clients.

Change-Id: I8b4eccebac0f0f20fb112288f7558ea337649b6d
Signed-off-by: David Sin <davidsin@ti.com>
gcbv: gcbv update to support kernel clients.

Change-Id: Ia02ad4fcc3e54492fc9366eb2c265e2120408d1e
Signed-off-by: David Sin <davidsin@ti.com>