cpufreq: lulzactive: tweak pump up and pump down steps
ARM: omap: tuna: revert wifi voltage to stock 2.0V
I2C: OMAP: Fix the crash in i2c remove

Should fix the crash at arch/arm/mach-omap2/omap_l3_noc.c
Revert "Add Vibration Control by Morfic"

This reverts commit 287ac1506c8e62018b9a63bfecfefdb0b3fae105.
Add Vibrator Control by Ezekeel
Patch for Vibrator Control by Ezekeel

Use a simple while loop and msleep instead of a mutex to prevent the
vibrator strength from being changed while the vibrator is active.
Also when adjusting the vibrator strength change the corresponding
saved values in the context.
OMAP4: DVFS: Fix scaling dependent frequencies.

When scaling dependent frequencies down it is observed that the order
in which frequencies are changed is incorrect.  For example, when core
domain changes OPP down from OPP119 to OPP50 the order is:
a) scale L3 freq down to OPP50
b) scale SGX freq down to OPP50
which is wrong.

Frequencies are scaled in order devices are registered in omap dvfs
framework in device list. Devices are inserted to the list in order,
such as dependences are satisfied if scaling frequencies up.

When scaling frequencies down traverse list backwards.

Change-Id: I752bcb264cac12514f358986a906f29ee81ba75e
Signed-off-by: Oleksandr Kozaruk <oleksandr.kozaruk@ti.com>
timer: optimize apply_slack()

__fls(mask) is equivalent to find_last_bit(&mask, BITS_PER_LONG), but cheaper.
find_last_bit was showing up high on the list when I was profiling for stalls
on icache misses on a system with very small cache size (MIPS).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
defconfig: update cmplus_tuna

- enable lulzactive cpufreq governor
- change to Vibrator Control by Ezekeel
AIO: Don't plug the I/O queue in do_io_submit()

Asynchronous I/O latency to a solid-state disk greatly increased
between the 2.6.32 and 3.0 kernels. By removing the plug from
do_io_submit(), we observed a 34% improvement in the I/O latency.

Unfortunately, at this level, we don't know if the request is to
a rotating disk or not.
usb: gadget: composite: Fix corruption when changing configuration

Remove the config from the configs list before releasing the spinlock.
Otherwise the other cpu might be processing a SET_CONFIGURATION that
will switch to the configuration that is being released.

Bug: 6521576
Change-Id: Id4da0d0e18ead63e20cb236cd1d3e8e6d116acce
Signed-off-by: Benoit Goby <benoit@android.com>
OMAPDSS: DISPC: Fix rounding error in scaling decision

When checking if we are downscaling by more than a factor,
we were dividing the source dimensions instead of multiplying
back the target dimensions.  This allowed downscaling by
slightly more than the max supported downscaling, resulting
in out-of-range register settings and ultimately SYNC_LOST.

Change-Id: Ic039789c5011d64da870121eeb227a803af1fa83
Signed-off-by: Lajos Molnar <lajos@ti.com>
usb: gadget: android: Fix product name

Product names may contain spaces and scanf %s only matches the 1st word.
Use strlcpy instead.

Change-Id: Ie8703fea9775f7fc17fe615a42597ca3816d36b0
Signed-off-by: Benoit Goby <benoit@android.com>
USB: gadget: f_audio_source: Adjust packet timing to reduce glitches

Increase max packet size and clean up timing logic so we can better
recover from not getting an interrupt in time for a SOF.

Signed-off-by: Mike Lockwood <lockwood@google.com>
OMAP4: MUSB: peripheral isoch IN endpt support

This patch does the following
1. Updation of the TXCSR programmation sequence
2. When the occurance of a DMA completion occurs,
   if the completion results in residual (< max_packet_sz) data
   the TXPKTRDY bit is set to allow the sending of this data.
3. The above could occur in 2 scenarios:
	a. DMA Mode 0 which requires as per specification to set TXPKTRDY and
	   await the endpoint interrupt.
	b. DMA Mode 1, where the last packet is shorter that max_packet_sz.

Change-Id: Id517ea74f2b3f6f66ea768f0b505b4c059b27f55
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
usb: musb: Fix memory corruption

rx_count, the number of bytes in the rx fifo, may be larger than the
size of the transfer buffer. Make sure we don't overflow the transfer
buffer in that case.

Bug: 6497399
Change-Id: I5bcf6dd543f9da4ee22944aa6c41673f2cca4c1f
Signed-off-by: Benoit Goby <benoit@android.com>
Revert "ARM: cpu topology: Enable ARCH_POWER"

This reverts commit 61e5975bd30663e4ea26fcb447db571487269920.
block: strict rq_affinity patch set

block: strict rq_affinity by Dan Williams
block: Fix queue_flag update when rq_affinity goes from 2 to 1 by Eric Seppanen
iosched: prevent aliased requests from starving other I/O
Fixed USB tethering

note: rndis and adb will not work together on windows.

enable usb tethering will disable adb.
Location: Settings/more/Tethering/USB tethering

Signed-off-by: Harsh Bhanvadia <harsh.slade@gmail.com>