Commits on Jan 22, 2013
  1. add SIO I/O scheduler

    gokhanmoral committed with Jan 22, 2013
Commits on Jan 19, 2013
  1. staging: logger: hold mutex while removing reader

    The readers list is traversed under the log->mutex lock
    (for example from fix_up_readers()), but the deletion of
    elements from this list is not being done under this lock.
    Cc: Brian Swetland <>
    Cc: Dima Zavin <>
    Signed-off-by: Rabin Vincent <>
    Signed-off-by: Greg Kroah-Hartman <>
    rabinv committed with Feb 22, 2012
  2. net: wireless: bcmdhd: Fix PEAP with dynamic WEP

    Change-Id: I62dffdb3b759ea5ccdf9f7ea0f0e67f928ace92b
    Signed-off-by: Dmitry Shmidt <>
    Dmitry Shmidt committed with Jan 15, 2013
Commits on Jan 18, 2013
  1. bq27541: Add current_now property

    Fix what I broke when I merged with 3G kernel updates from Google :p
    Signed-off-by: faux123 <>
    committed Jan 18, 2013
  2. defconfig: enable kexec capabilities

    Signed-off-by: faux123 <>
    committed Jan 18, 2013
  3. Add support for kexec-hardboot

    "Allows hard booting (i.e., with a full hardware reboot) to a kernel
    previously loaded in memory by kexec.  This works around the problem of
    soft-booted kernel hangs due to improper device shutdown and/or
    More info in /arch/arm/Kconfig.
    Original author: Mike Kasick <>
    These patches are ported from Asus TF201, to which it
    was ported by Jens Andersen <>.
    Change-Id: Ibee734f61ffa97577bfbcdd9a8cd567bd2d89f32
    mkasick committed with Jan 18, 2013
Commits on Dec 17, 2012
  1. cpufreq: interactive: Unify Governor Lock Strategy

    Change our locking strategy to be the same as the conservative
    and ondemand governor for GOV_START and GOV_STOP to allow
    for correct handling of multiple CPUs
    Bug 1049258
    Change-Id: I15ab620e2f9d47b00ec8186c224eb719b9735aa7
    Signed-off-by: Matt Wagner <>
    Reviewed-on: http://git-master/r/133360
    Reviewed-by: Satya Popuri <>
    Reviewed-by: Automatic_Commit_Validation_User
    Reviewed-by: Dan Willemsen <>
    adapter for Grouper from NV Reference
    Signed-off-by: faux123 <>
    committed Dec 17, 2012
  2. cpufreq: interactive: Add Uevent Signal on Gov Start

    Sends kobject_uevent signal back to userspace to signal that
    the cpufreq governor has been set to interactive
    Bug 1039141
    Change-Id: I699e9d5834a1874b36c675764c080112ccba0f9f
    Signed-off-by: Matt Wagner <>
    Reviewed-on: http://git-master/r/131224
    Reviewed-by: Automatic_Commit_Validation_User
    Reviewed-by: Dan Willemsen <>
    adapted for Grouper from NV reference
    Signed-off-by: faux123 <>
    committed Dec 17, 2012
  3. arm: tegra: Board files settings for LP1 0.95V CoreV

    Set the register values for each of the board files to
    keep the Core voltage to 0.95V in LP1.
    This change is only for those platforms where LP1 is supported.
    Enterprise and Kai are the main platforms for this change. There
    is no support for Cardhu for LP1 and so is left blank and the
    feature will be skipped for Cardhu platforms, except for AP37.
    AP37 with a PM269 board needs this change and so Cardhu board
    file is updated with the values specific to AP37.
    This change is part of the feature to set VCore to 0.95V
    Refer to http://git-master/r/124135 for more details
    Bug 1035684
    Change-Id: I6d1d984b0e7968b441cebbc37705c25647a4a85a
    Signed-off-by: Karthik Ramakrishnan <>
    (cherry picked from commit b46921e475bd95e729896a6763bc94df1e03ee4a)
    Reviewed-on: http://git-master/r/124780
    Reviewed-by: Lokesh Pathak <>
    Tested-by: Lokesh Pathak <>
    adapted for use on Grouper from NV reference
    Signed-off-by: faux123 <>
    committed Dec 17, 2012
  4. arm: tegra: Set Core to 0.95V in LP1

    When the device prepares for LP1, the Core voltage is set to the
    highest value(1.2V for Enterprise and Kai, and 1.3V for AP37 and
    Cardhu). This is to set for some of the driver suspend along the
    sequence need a higher emc frequency and thus a higher Core voltage.
    Since the sequence of drivers suspend depends on the sequence of
    their registration in the table, which in turn is platform-dependent,
    there is no right place in the LP1 entry path where the Core voltage
    can be set to a lower voltage. Hence, the Core voltage remains high
    in LP1 resulting in higher power.
    Thus, the only safe location where the Core voltage can be lowered is
    once all the drivers are suspended and the DRAM is set in self-refresh,
    at the final point just before the system is suspended in the IRAM code.
    This location at the assembly code ensures that no other module will be
    running and thus that nothing will require a higher core voltage. The Core
    is set to the lowest possible value since nothing requires it. It is then
    restored to the highest voltage as soon as the LP1 resume code is started
    so that all drivers are resumed safely.
    At the execution point in IRAM during LP1 suspend path, even the I2C clocks
    are gated. They must be reset first and then the I2C transaction is performed.
    An I2C transaction involves 4 bytes of data, to send the slave address,
    the Core voltage register address and 2 bytes of data which has the value
    to set the voltage(the second byte is not required for this transaction).
    Once these registers are set, the I2C transaction is performed by setting
    the I2C transaction register to 0xA02. After sending the I2C transaction,
    we wait for about 250us to check the status of the transaction and if not
    updated, wait for more time to check again. If after 2ms and the transaction
    fails to register, the transaction is aborted and the device is allowed
    to enter at high voltage. Since the failure rate of I2C transaction is very
    low at this point in execution where there will be no conflicts in the bus,
    it is okay to have Core high for some of the LP1 cycles.
    However, it is unacceptable for the I2C transaction to fail on the way
    from LP1 resume since the device cannot come up with a lower Core
    voltage. In this case, the transaction is retried again and again till
    it is successful. There is no way but to keep trying as the device
    would fail to resume with Core at 0.95V.
    Each platform(or each PMU) has different values for the I2C transaction
    ie. slave address, Core voltage register and the value to set the
    voltage. For the device in IRAM, it cannot access anything in SDRAM
    memory, these values needs to be pushed to IRAM memory before the device
    starts execution in IRAM. This is done during initialization of suspend
    code when it picks values from the board files and copies it to IRAM
    part of code, before the whole memory is copied to IRAM.
    This new feature is controlled by a KConfig variable TEGRA_LP1_950 which
    should be enabled once the board file of the device is updated with the
    right values. The device hangs when it does not have the right values for
    the I2C transaction.
    With this change in Core, LP1 power is reduced by 12mW in Enterprise,
    20mW in AP37 and about 24mW in Kai.
    Bug 1035684
    Change-Id: I4318c66fd70ab227ef0786d6a13286e020e4541d
    Signed-off-by: Karthik Ramakrishnan <>
    (cherry picked from commit ab476f287376fd0ae51a9f298659f5eba19f0296)
    Reviewed-on: http://git-master/r/124779
    Reviewed-by: Lokesh Pathak <>
    Tested-by: Lokesh Pathak <>
    adapted to use for Nexus Grouper from NV reference
    Signed-off-by: faux123 <>
    committed Dec 17, 2012
Commits on Nov 17, 2012
Commits on Nov 16, 2012
  1. Revert "net: wireless: bcmdhd: Fix WD wakelock behavior"

    This reverts commit 87576b8.
    Ramanan Rajeswaran committed with Nov 2, 2012
  2. use clamp_t in UNAME26 fix

    The min/max call needed to have explicit types on some architectures
    (e.g. mn10300). Use clamp_t instead to avoid the warning:
      kernel/sys.c: In function 'override_release':
      kernel/sys.c:1287:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]
    Reported-by: Fengguang Wu <>
    Signed-off-by: Kees Cook <>
    Signed-off-by: Linus Torvalds <>
    kees committed with Oct 20, 2012
  3. kernel/sys.c: fix stack memory content leak via UNAME26

    Calling uname() with the UNAME26 personality set allows a leak of kernel
    stack contents.  This fixes it by defensively calculating the length of
    copy_to_user() call, making the len argument unsigned, and initializing
    the stack buffer to zero (now technically unneeded, but hey, overkill).
    Reported-by: PaX Team <>
    Signed-off-by: Kees Cook <>
    Cc: Andi Kleen <>
    Cc: PaX Team <>
    Cc: Brad Spengler <>
    Cc: <>
    Signed-off-by: Andrew Morton <>
    Signed-off-by: Linus Torvalds <>
    kees committed with Oct 19, 2012
  4. net: wireless: bcmdhd: Prevent HT Avail timeout to frozen deice while…

    … asleep.
    Change-Id: I6ccd035539a3a3074b7ff1e06854ce396d784fc4
    andy2_kuo committed with Oct 25, 2012
  5. net: wireless: bcmdhd: Fix WD wakelock behavior

    Change-Id: I7ebae2be248cbb4bc98e2b448641f65b77a320f4
    Signed-off-by: Dmitry Shmidt <>
    Dmitry Shmidt committed with Oct 23, 2012
  6. net: wireless: bcmdhd: Fix BSSID report for disassoc

    Change-Id: I5e3b01a1a471e5983ab934fc9d65802a389ab1af
    Signed-off-by: Dmitry Shmidt <>
    Dmitry Shmidt committed with Oct 24, 2012
  7. Fix al3010 power on fail in late_resume function

    When interval time is too short between al3101_early_suspend() and al3010_late_resume().
    It will cause driver fail to set power on. So , add 5ms delay to fix this issue.
    Change-Id: I2523b41384b47cbb23100fdf7f451f54bdeaed19
    committed Nov 16, 2012
  8. Sensors: Revise compass compensation mechanism to fix non-linear issue.

    Revise the equation of compass compensation to
    make the data moving curve more linear when rotating.
    This fixes that the Orientation data variation doesn't match the degrees
    that the device actually has been rotated.
    Bug: 7395562
    Change-Id: Ib628920066adc8250e901a40e69ee5fc2364298c
    Joseph Wu committed with Oct 25, 2012
  9. ASoC: tegra: headset: improve dock switch code

    Remove all audio routing and use two switch devices
    to signal userspace of dock changes. Routing can
    then be done in userspace for the dock.
    Change-Id: Id73a5ea6754a780897bc23aec02157749a3a5fd6
    Signed-off-by: Simon Wilson <>
    tinyalsa committed with Oct 26, 2012
  10. Revert "ASoC: codec: rt5640: change lineout route to output mixer and…

    … set path gain to -1.875dB."
    This reverts commit 2a6888f.
    Change-Id: Idcf6de88a3789210336d6cf3f3519d2d0fa7aa98
    tinyalsa committed with Oct 26, 2012
  11. Revert "7377546 Add dock switch device to support daydream mode."

    This reverts commit e8ee95c.
    Change-Id: I12f7deb0eab18b712ff0cdb1c3274a23664c5c9d
    tinyalsa committed with Oct 26, 2012
  12. 7377546 Add dock switch device to support daydream mode.

    Nakasi should start Sleep Mode / Dream when placed in Dock
    Change-Id: I7545377b7a4e5e6d52d0208af6ac3f7bb2fd86e3
    jerryyc_hu committed with Oct 24, 2012
  13. Sensors: Fix an improper type definition when loading compass gain.

    To load compass gain with a correct type, we should fix it to 'int'.
    This should be common fix but partial related to bug 7355959.
    Bug: 7355959
    Change-Id: I3514618a47cedd5354d1d4b26d30a8026e02e6f3
    Joseph Wu committed with Oct 23, 2012
  14. SoC: tegra: headset: fix speaker silent issue after inserting and rem…

    …oving headset rapidly.
    Speaker could get silent if insert and remove headphone rapidly,
    or even just normally insert and remove headphone during system suspend.
    The "AUX" and "speaker" dapm mixer control was for dock function but causes such issue,
    now remove them from kernel and redesign in HAL to satisfy both audio and dock functions.
    Bug: 7388692
    Change-Id: Iaa2dc40575ee3a6c9ddcd49f5dd1a92e94c20655
    Signed-off-by: able_liao <>
    able_liao committed with Oct 23, 2012
  15. Power on/off sequence tuning for Himax T-con IC

    Change-Id: I908e0b1233f4951c92d49b952a94f9e285c24424
    lucien_wu committed with Oct 19, 2012
  16. arm: tegra: grouper: setup uart_c as bluetooth uart port for bluesleep

    Signed-off-by: Haley Teng <>
    Haley Teng committed with Oct 18, 2012
  17. bluesleep: implement to support bluedroid

    "#define BT_BLUEDROID_SUPPORT 1" -> support BlueDroid
    "#define BT_BLUEDROID_SUPPORT 0" -> support BlueZ
    Since BlueDroid does not use kernel space HCI driver now, we add the
    below 2 /proc nodes to make BlueDroid able to send HCI events to
    bluesleep driver.
    write 1 to /proc/bluetooth/sleep/lpm -> equivalent to HCI_DEV_REG event
    write 0 to /proc/bluetooth/sleep/lpm -> equivalent to HCI_DEV_UNREG event
    write 1 to /proc/bluetooth/sleep/btwrite -> equivalent to HCI_DEV_WRITE event
    Signed-off-by: Haley Teng <>
    committed Nov 16, 2012
  18. arch: arm: xmm: repeat to push the crash pin and force to change the …

    …crash mode.
    Change-Id: I04b6ae83efe8a99baefe20e2a623731fbfb8bb7d
    yi-hsin_hung committed with Oct 19, 2012
  19. drivers: usb: core: reduce the resume time for HSIC controller.

    Change-Id: If7123e444410babd4a04abeaf471098dfb026db1
    yi-hsin_hung committed with Oct 17, 2012
  20. arm: tegra: grouper: Increase MC_EMEM_ARB_OUTSTANDING_REQ to resolve …

    …underflow in low emc freq.
    New outstanding request is updated in the emc dvfs table:
    * 25.5Mhz: 20
    * 51Mhz: 20
    * 102Mhz: 30
    Bug 1057414
    Change-Id: I4d72b0db586ad99d6a6758737d87b3f68e6a47c4
    Signed-off-by: Haley Teng <>
    Roger Hsieh committed with Oct 3, 2012
  21. Revert "Asoc: codec: rt5640: increase lineout output gain +1.875dB fo…

    …r B-dock sample."
    This reverts commit 273ea66
    Change-Id: I9cb92323299d17806aed5439ccf9c3c6798bce59
    Ramanan Rajeswaran committed with Oct 15, 2012
  22. Asoc: codec: rt5640: increase lineout output gain +1.875dB for B-dock…

    … sample.
    1.where measure result:
      Vrms:0.242 V
      Vp-p:0.724 V
    Change-Id: I3e17671bebe0fea0e5a64d3b287e7c86a29ab7c1
    able_liao committed with Oct 12, 2012
  23. ASoC: codecs: rt5642: fix whoosh noise when making the first click so…

    Stable VREF by increasing VREF charging time in fast mode to 10-15ms (was: 5-6ms).
    Bug: 7257448
    Change-Id: I089821b886b4a4e92fa8fdafcc11bb0269c7fb05
    Signed-off-by: able_liao <>
    sam_chen committed with Oct 11, 2012
  24. Proximity: Fix reports status change frequently even when not moving.

    Bugnizer ID: 7267739
    Change-Id: I4ffac18b3266c323f22f8014fbf2cdf2caa048a5
    tryout_chen committed with Oct 3, 2012