fs/dyn_sync_cntrl: dynamic sync control

The dynamic sync control interface uses Android kernel's unique early
suspend / lat resume interface.

While screen is on, file sync is disabled
when screen is off, a file sync is called to flush all outstanding writes
and restore file sync operation as normal.

Signed-off-by: Paul Reioux <reioux@gmail.com>
fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup

Signed-off-by: faux123 <reioux@gmail.com>
fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops

Signed-off-by: Andrew Bartholomew <andrewb03@gmail.com>
dynamic filesync: add some cache optimizations

and clean up file format and typos

bump version to 1.1

Signed-off-by: Paul Reioux <reioux@gmail.com>
msm: otg: Handle otg interrupts only if they are enabled

without this check driver tries to handles otgsc session valid
interrupt when interrupt source is any other otg interrupt.

Change-Id: Ic32ab9784509ddbfbb985f7990e87e221ff0a1b1
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
USB: msm_otg: Notify the charger type early

The current code notify the charger type to power supply driver
only after the amount of avaialble current is determined.  If
we are attached to Host PC, this is delayed till host sends
set config request.  Instead notify the charger type once the
charger is determined.

CRs-Fixed: 441014
Change-Id: Ieb126ae8106ed1b0433c3d756d473e37cb55cdca
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>