ASoC: tegra: increase period count/size limits

Bug: 6643209
Signed-off-by: Glenn Kasten <gkasten@google.com>
Change-Id: I1bcc1631c08e6b76460805ff91a7710219b8e045
Compass:Fix magnetic raw data overflow after multiplying factory calibration gain
        which causes magnetic data unstable for application and sensor fusion.

Change data type short to int to avoid overflow.

Change-Id: I008c080f0485a39bc2cd75874f7489125588b4d8
Signed-off-by: sam_chen <sam_chen@asus.com>
Compass: fix Orientation accuracy gets low after suspend/resume.

Only load compass offset while init to avoid compass raw draft without any motion.

BUG ID 6673620

Change-Id: I13c0344c99db6e43065f77e09793d5a9dea96beb
Signed-off-by: sam_chen <sam_chen@asus.com>
ASoC: Tegra: check i2s fifo status before stopping.

Check for i2s fifo to get disabled before stopping playback. This
ensures that there is no data in audio cluster pipeline.

BUG ID:6652941

Change-Id: Icfba5421a8ef0070c48f1b67aec04ef067c1eece
Signed-off-by: sam_chen <sam_chen@asus.com>
Display: tune power on sequence to reduce flicker

Add 20ms sleep after pull high VDD 3.3V to stablize regulator
Reduce the flicker that screen lights up in two halves

BUG ID: 6653137

Change-Id: If36a85f6200da7f717ac577749404909358c4ea7
HID: multitouch: add support for 3M 32"

commit c4fad877cd0efb51d8180ae2eaa791c99c92051c upstream.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ARM: tegra: enable ARM errata 764369 for Tegra 3

Change-Id: Ied08087db1aa8409036b6a9c1ca3dc793ca7ae00
Signed-off-by: Dima Zavin <dima@android.com>
Revert "Display: tune power on sequence to reduce flicker"

This reverts commit 92c01fdf775ba311ddd842c4c14971a6f356dba7.

The root cause solution already pushed by NV Roger.
tegra: dc: Make data output along with pixel clock.

After making pclk output ahead of LVDS_SHDN# , data output is later than
panel ready then caused partial black screen. Force triggered data output to
get it fixed.

Bug 1001434

Change-Id: Iaad3667cbfd809cb84e27c6173cdf7b3f74bae6d
Sensors: Add an exception handling to kfifo to avoid buffer overflow.

With some cases, it will trigger the bug that kfifo buffer is overflow.
It may have the following two reasons:
1. One data unit is 24 bytes when we enable all three sensors.
   But it is danger 4096 is not fully dividable by 24.
2. kfifo is filled up data completely in some cases.
   So new data couldn't fill it in kfifo buffer and make sensors crazy.

ps. This patch is provided by Ge Gao, Invensense.

Change-Id: Ic2b560ac4dcd51905565c8c2648669e952e76ac1
enable multicast
Touch: Update touch firmware and notify power source

(i) Update firmware to B018.
(ii)Notify USB and AC power source to touch.

Change-Id: I2fa75448ac0ab547e1e4110a7563c967101ced3a
net: wireless: bcmdhd: Reload FW in case of constant scan failure

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Reduce priority for dhd_dpc and watchdog

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Ignore error if "chanspecs" command is not supported

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Skip inaccurate wl_construct_reginfo() call

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
[Charger] The workaround solution for charger turning on and off.

6577291 charger turning on and off.

Change-Id: I9d0dd07b610dfa70442cf0032cdeecd9761a5bbd
arm: tegra: grouper: memory: update DVFS table (ver: 0704_15R7)

According to Tegra3 Errata v6 #26 (Rare memory controller deadlock
condition)

Bug 1013627 Rare memory controller deadlock condition (regarding to EACK)
Bug 955082

Change-Id: I696a275b3921e485da195bf4d5f772c2d0050beb
Signed-off-by: Haley Teng <hteng@nvidia.com>
ARM: tegra: la: scale latency allowance based on ticks

With new memory tables (ver: 0704_15R7), the tick length will be longer.
This will check the tick length of the memory table,
and if needed, update the latency allowance.

This patch includes both of http://git-master/r/111040 and
http://git-master/r/113977

Bug 1013627 Rare memory controller deadlock condition (regarding to EACK)
Bug 955082

Change-Id: I1fdc82770465c1151020a890ca33001270fc9ef9
Signed-off-by: Haley Teng <hteng@nvidia.com>
net: wireless: bcmdhd: Add wiphyband update for country change

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>