mako: power: add new rconn_mohm for charger and bms

tuning the reference resistance value for charger and bms
which will be used for calculating the charging current

Change-Id: I91982a79d4b2f2ddb6193b9cedd3fd7f5885d9a5
prima: WLAN Driver Release v3.2.0.10

remote: git://codeaurora.org/external/wlan/prima.git
v3.2.0.10

Signed-off-by: Iliyan Malchev <malchev@google.com>
Merge "prima: WLAN Driver Release v3.2.0.10" into android-msm-mako-3.4-wip
mako_defconfig: compile wlan driver in

Signed-off-by: Iliyan Malchev <malchev@google.com>
Merge "mako: power: add new rconn_mohm for charger and bms" into android-msm-mako-3.4-wip
gpio: msm: do not re-enable the interrupt and clear the status

If a gpio interrupt is already enabled, do not re-enable it again and do not
clear the interrupt status.

Before this patch: if an edge interrupt is marked as wakeup, the gpio sys
suspend will enable it.  On resume, the gpio sys resume would clear the
intr_status of the wakeup irq.  Thus, if this particular wakeup irq triggered
and woke us up, we would lose its intr_status before calling the gpio summary
handler.  Now, when the summary handler is finally called, the irq handler for
the wakeup interrupt is never called.

With this change: we are *not* re-enabling the gpio-irq again to make sure that
when the irq framework unmasks all irqs on resume, it does not clear the
intr_status.

Change-Id: Ia5a9c6b00173a56b1abbdd4d4821becb7311d7f6
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
ASoC: WCD9310: Reduce the sleep time after lineout PA enable

- Speaker warm-up time is too long(over 100 ms) due to big delay
  (16*2ms for mono and 16*4ms for stereo)after lineout PA enabled.
- Measured by "adb shell dumpsys media.audio_flinger |grep measuredWarmup",
  speaker warm-up time is reduced to ~70-80ms

Signed-off-by: SathishKumar Mani <smani@codeaurora.org>
bug-id: 7022794
vidc: Correct start and stop sequence.

Video core stop should be called only if start is successful.

Change-Id: Ie2a8d970355387ee3fcdc34b62184972e89dd6cc
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
msm: camera: Disable stats logs by default

if userspace thread is busy, vfe stats will be dropped.
But this is not fatal. Hence disable the logs
which indicate unavailability of free stats buffers by default.
Otherwise, these logs printed continuously result in
issues like watch dog bark.

Change-Id: I37ae2f646726f8c71fdbc98c5c12fdeac031f65e
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
usb: msm_otg: prevent abnormal charging stop when vbus active.

Change-Id: I4525e7a675912066cd3ac8f516ff1c41d7a6243d
power: pm8921-charger: OVP_FET control for USBIN drop error

In some case, USBIN voltage doesn't drop for a while when
usb cable is unplugged. Due to this error, charger cannot
be detected correctly. This patch introduce OVP_FET
off method to drop USBIN volatge in error case.

Change-Id: I8d279cc8b4e7a489e8bfdc86b2015ff45704f832
mako: display: increase mipi line speed

increase mipi speed to 470Mbps from 450Mbps
too low line speed don't support HD resolution

Change-Id: I572afcc82f0c67aa0d45547f3f7f10214f4ebf81
mako: display: disable LP stop mode

Enabling LP stop flag caused flicking or after image.

Change-Id: I91066bebc3b4c5277ef524435615c1b8bde70e80
msm_fb: remove unused code

Change-Id: Iab22ea4ae1237d70aacd830526df075c86a7fe64
mako: touch: preserving touch data coherency

Synaptics firmware maintains internal cache to store a scan of
finger data so that the host reads finger data from this cache.
The firmware updates the cache when the host reads it nonsequentially.

The current driver reads only present finger data, which can cause
unexpected nonsequential access to cache and the cache can be updated
before the host reads the data, resulting in losing finger data coherency.

Modified the driver to access data sequentially even if there are
not present fingers in the middle so that the finger data coherency
can be preserved.

Change-Id: I4b975c2ab2445078f2a81c3dd4ce484002d27933
Signed-off-by: Iliyan Malchev <malchev@google.com>
mako: touch: PLG137 firmware E015 update

- Improved ghost touch error
- Improved unstable when lifting finger

Change-Id: Icc752c07ad05f5888eff8db4a8064007d3e471f4
net: usb: Submit RX URBs regardless of whether QMI channel is opened

During interface resume rmnet control driver submits interrupt URB
only if QMI channel is opened by userspace. There is a possibility
that interface is resuming from suspend and QMI channel is still not
opened, in that case interrupt URB will never get submitted again.
Hence always submit the interrupt URB and do not depend on if userspace
has opened the QMI channel.

CRs-Fixed: 388611
Change-Id: Iffe203dee3b3f757affbba3cd9dd12e2cd260d34
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
power: pm8921-charger: use SoC % value for charging stop and resume

Current pm8921 charger code doesn't consider the SoC % to determine
end of charging and recharging state. This can cause weird UI display
on SoC % and charging state.
For example, charging is completed when SoC % is not reached 100% or
charging is not completed even if SoC % is already 100%.
So this patch change how to determine end of charging and recharging.

Change-Id: Ice658488744d71117fedb64e0fa0eb7ad34c6573
mako: power: use SoC % value for charging stop and resume

Enable SoC % use for determination of charging stop and resume.

Change-Id: I71bd2c06e07ffb5ad80815828da58d1aaaf2b0ed
ASoc: msm: Add lowlatency playback and recording routing
controls

- Add BT, FM, PROXY routing controls for lowlatency playback and
recording

Signed-off-by: SathishKumar Mani <smani@codeaurora.org>