WIP: usb fixes
USB: core: Fix misc OTG related bugs

This patch fixes the following OTG related bugs:

1. The current code does not wait for the ongoing HNP polling work to
finish upon the device disconnection which results in a crash when
accessing the udev structure in hnp polling routine.

2. bcdOTG field is added to OTG descriptor in 2.0 revision. Check OTG
descriptor size before validating bcdOTG field.  A legacy device sends
2 bytes lesser than the size of OTG descriptor specified in 2.0 spec.

3. The host is required to execute a GetStatus() with a frequency of
THOST_REQ_POLL in order to determine the state of the Host request flag.
The limits of THOST_REQ_POLL are 1 - 2 sec. Use the average value 1.5 sec
for HNP polling to pass compliance tests.

Change-Id: Ie6a6a8e915d10c1347946f979c919d04d64823b4
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
add my config
gpu/msm: don't increase the fail by blocking signals (v2)

In some error paths, if the gpu has hung, we'll spin forever without
even checking if there is a pending signal.  Which makes ctrl-c not
even work, and somehow prevents gpu recovery from kicking in.  (I
guess a lock contention between userspace trying to submit cmds and
the recovery code.)
make ram-console work
fix build errors with newer compiler
kgsl: make gpu-recov not cause hard-lockup
fix upside down mouse cursor

see commit 8834aca308 - Fixed upside down video display

Change-Id: If069b7169520ce788fc31c18e632a2e7385b1093
swap red/blue channels for RGB display
remove kgsl_gpu_mem_flush() calls in issueibcmds

I don't think we need this.. if it turns out we do then it would need
some synchronization against buffers being created/deleted by other
contexts/processes.
Don't BUG_ON() invalid input from userspace

Change it to WARN_ON() and return an error.
hw cursor is flipped left/right too