Revert "bcm4329: Use the iproj's suspend routine"

This reverts commit 2447f51dcca870b4a800cb20dc35159a3983c4a2.
regulator: If we can't configure optimum mode we're always in the best one

regulator: If we can't configure optimum mode we're always in the best one

If either a regulator driver can't tell us what the optimum mode is (or
doesn't have modes in the first place) or the system doesn't allow DRMS
changes then it's more helpful for users to just say that we're in the
optimal mode, even if it's from a selection of one.

Still report errors if the process of picking and setting a mode changes as
this may indicate that we're stuck in a low power mode and unable to deliver
a higher current that the consumer just asked for.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
regulator: Only apply voltage constraints from consumers that set them

regulator: Only apply voltage constraints from consumers that set them

When applying the set_voltage() requests from consumers skip over those
consumers that haven't set anything, otherwise we'll come out with a
maximum voltage of zero.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Merge changes Ic5a71c1c,I17e36aee into jellybean

* changes:
  regulator: Only apply voltage constraints from consumers that set them
  regulator: If we can't configure optimum mode we're always in the best one
star: Use board rev param instead of hw rev, when in bl compat
p990: Updated CM defconfig
power: su660_battery: return proper voltage value

When Android queries the driver for the current battery voltage, then
multiply the value by 1000, as it expects the value to be in terms
of mV.

Change-Id: I453dae6a444289e2ac3c4ac3c409338ee98f0baf
Signed-off-by: Varun Wadekar <varun.wadekar@gmail.com>
bcm4329: Enable combo scan
arm: tegra: Enable arm errata 764369

Enable arm errata 764369 for TEGRA_2x and 3x.
Bug 981223
Bug 885467

Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/104181
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Change-Id: Ie013dc1ed4f1417a72dda72ea2d079a6534c3933
ARM: tegra: clock: Update secondary pll dividers resume

During resume from LP0 on Tegra2 always enable pll secondary dividers
before clocks restoration (to make sure clock sources are enabled).
Restore actual secondary dividers settings after clocks are restored.

Bug 965928
Bug 953030

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>

Reviewed on http://git-master/r/#change,104661
(cherry picked from commit 6350d1fd475373779cf5110403717b2c84e723ba)

Reviewed-on: http://git-master/r/104698
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>

Change-Id: I048e3f925daf02074312472afa667609a8338c15
mm: Ensure pte and pmd stores ordering.

Bug 974153
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>

Reviewed-on: http://git-master/r/105215
(cherry picked from commit 25c3334f0e1ea6bde84c0514bad0eb1859566dba)

Reviewed-on: http://git-master/r/108446
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Change-Id: I3a77ce812fab77f785c488a3aac9d0bc66e8236d
ARM: Tegra: Star: restore old_fs during error scenarios

In case there are errors in accessing KERNEL_DS partition, then instead
bailing out immediately, restore the original partition and then bail
out.

Change-Id: Iebdf425f7a68170126717e2b76120fbe7401ef87
Signed-off-by: Varun Wadekar <varun.wadekar@gmail.com>
wm8994: Leave the AIF2 clock alone.

AIF1 is already left enabled, let's do the same with aif2
video: tegra: dc: use highest bandwidth setting

Apply the highest bandwidth setting before windows are programmed rather
than waiting for vblank.

Bug 914917

Change-Id: Iaaede9966191fdfc896bbbb19fbbadf9c4598bff
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/72301
Reviewed-by: Michael I Gold <gold@nvidia.com>
Tested-by: Michael I Gold <gold@nvidia.com>
Signed-off-by: Varun Wadekar <varun.wadekar@gmail.com>
sound: soc: tegra: wm8994: manage disabling of pll_a clock

During suspend if bias is set to off then disable the pll_a and
related clock only once.

Change-Id: I1f7c45d5aa3b1753c5f18c4743de8ee204940b31
Signed-off-by: Varun Wadekar <varun.wadekar@gmail.com>
tegra2_i2s: Do not call das_suspend

I have no idea of where this code came from, can't find it anywhere
in nvidia's trees (whatever that's worth...). So roll it back to
test if it has any impact on the AIFs' behavior
Merge https://github.com/CyanogenMod/lge-kernel-star into jellybean