PM/Suspend: Do not shrink memory before suspend and  PM/Hibernate: Move memory shrinking to snapshot.c (rev. 2)
usb: gadget: Increase Tx/Rx buffers in serial driver

Increases Tx/Rx buffers to 8x4k inorder to pump more data
to userspace.

Change-Id: I8d7bf16ab7a0058f001b58b140afd33481bec618
Signed-off-by: Anji Jonnala <anjir@qualcomm.com>
usb: msm_gadget: Send offline event upon receiving reset

Send offline event when reset interrupt occurs in configured
state. Otherwise user space applications may still perform I/O
which eventually leads to high CPU usage.

This patch also fixes the bug where an incorrect event is sent
when no configuration is selected.

Change-Id: Id9b0f45858b893d6deaa5da6a17425773ac4e4c1
CRs-fixed: 235041
Signed-off-by: Pavankumar Kondeti <pkondeti@qualcomm.com>

Conflicts:

	drivers/usb/gadget/msm72k_udc.c
USB: gadget: Add compilation support for RNDIS

Add compilation support for RNDIS and fix compilation issues.

Change-Id: Ic407591a5c4d1027b7f502e42c358f1703d1295b
Signed-off-by: Chiranjeevi Velempati <cvelempa@qualcomm.com>

Conflicts:

	include/linux/usb/ch9.h
usb: gadget: Fix bug in serial driver RX path

If low_latency flag is set tty_flip_buffer_push() API push the data
to line discipline in the same context.  When line discipline buffer
reaches above/below threshold throttle/unthrottle.  TTY use termios
mutext to serialize throttle/unthrottle methods.  Replace tasklet
with work queue so that TTY can acquire mutex.  A dedicated worker
thread is created for achieving good throughput.

Change-Id: I1ebbe1c9fee5591dace18940fb5c8716829f2dd2
Signed-off-by: Pavankumar Kondeti <pkondeti@qualcomm.com>
usb: gadget: android: claim as self powered, if self_powered flag is set

Claim as self powered device only if, self_powered flag is set in
platform data and if this gadget device declares as self powered and
update the configuation descriptor accordingly.If claiming as  self
power device, request for max current of 100 mA's only.

Change-Id: I6cde81febcb4520dd67ed2d77524bdff6ceef2ad
Signed-off-by: Chiranjeevi Velempati <cvelempa@qualcomm.com>

Conflicts:

	drivers/usb/gadget/android.c
usb: gadget: android: Clear remote wakeup bit for MSC only composition

Enabling remote wakeup capability in mass storage only composition
doesn't make sense, because mass storage function doesn't support any
notification events in bus-suspend. Also, due to enabling remote wakeup
feature in mass storage only composition, causing compliance test
(Resuming in S1 and S3 Suspend) failure with WindowsXP, this is because,
WindowsXP is not supporting remote wakeup in mass storage only
composition. Hence, mark device as non-wakeup and clear remote wakeup
bit in bmAttributes field in configuration descriptor.

Change-Id: I31c2d520f4b6ba25bc10441086883dc4cd53e813
Signed-off-by: Chiranjeevi Velempati <cvelempa@qualcomm.com>
fix an online/configured mistake
usb: msm_gadget: Protect usb state/flag variables with spinlock

Change-Id: Icf19344fd03ea9c73e81bdfbab88ec85de4d8f6c
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>

Conflicts:

	drivers/usb/gadget/msm72k_udc.c
Revert usb: gadget: android: Clear remote wakeup bit for MSC only composition AND usb: gadget: android: claim as self powered,
if self_powered flag is set
fs:more updates to fs and a partially revert "a few updates to fs" that fixes mount problems.
rwsem update to 2.6.35
zcache: add a config choice for crypto lzo/snappy compression
add missing rcutiny file