Permalink
Commits on Jan 11, 2012
  1. bravo(c): update cm defconfig

    Kali- committed Jan 11, 2012
Commits on Jan 10, 2012
  1. USB: gadget: Add 10 microsec delay before fetching setup_data

    USB hardware sometimes generate interrupt before 8 bytes of
    SETUP packet are written to system memory.
    This results in wrong setup_data when tried to read immediately
    after receiving an interrupt.
    Add a delay of 10 microsec before fetching setup packet to allow
    writes from hardware to system memory to complete.
    
    CRs-Fixed: 291466
    Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
    Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
    (cherry picked from commit f89bec0737c0b824495ca85868c949ed0bd1258b)
    
    Change-Id: I154e0bc07661ac8c7d0ca18bb15a38b06d12e207
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
    Vijayavardhan Vennapusa committed with Kali- Jan 10, 2012
  2. Revert "USB: f_mass_storage: Disable write cache support"

    This reverts commit a2da2c47967c3f80a7127b0c698aae300b9c5b91.
    
    As part of mode sense SCSI command response, device needs to intimate
    host about write cache enable support. Based on this host sends FUA
    set/clear during write SCSI command. If FUA is set, then O_SYNC flag is
    enabled for that write.
    
    This change intimates the host that write cache support is enabled.
    
    Change-Id: I610a6edf08344a0e1b40c0f7367566e4a821d7c1
    CRs-fixed: 286298
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>
    Chiranjeevi Velempati committed with Kali- Jan 10, 2012
  3. driver: usb: add CSW Hack feature

    squashed commit of:
    
    Implementing the csw hack feature & increasing the number of
    buffers used in mass storage to 4.
    
    As per the mass storage protocol, csw is sent from the device
    after successfully writing the data on to storage media, where
    there is a time factor involved. With this csw hack, csw is sent
    just after receiving the data & before writing the data on the
    storage media. By, any chance, if the write fails, the corresponding
    lun is removed to indicate the user of write failure.
    
    Buffers has been increased to 4, so that there is enough space for
    the incoming data, which is usually 64KB per CBW.
    
    User has the option of selecting/deselecting this feature from
    the kernel config.
    
    Signed-off-by: Velempati Chiranjeevi <c_cvelem@qualcomm.com>
    
    ----
    
    USB: function: mass_storage: Fix in the CSW Hack feature
    
    Before sending the csw to the host, need to cross check,
    whether we have received the complete intended data from
    the host.
    
    CRs-Fixed: 182952
    CRs-Fixed: 182411
    
    Signed-off-by: Velempati, Chiranjeevi <c_cvelem@qualcomm.com>
    
    ----
    
    USB: f_mass_storage: Fix multiple enumeration, if media removed abruptly
    
    As part of CSW HACK feature, sending the CSW before actually writing the
    data on to the media. If the media is removed after sending the CSW and
    before the data is actually written, then the host will not know the
    write failure. Hence send the write failure info in the next CSW, so
    that host knows about the write failure and throw the right message to
    the user.
    
    CRs-fixed: 267925
    Change-Id: Ie3d58fb33f26e2f563ecb4560b3fd1249377b091
    Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
    
    ----
    
    USB: f_mass_storage: Fix sending of CSW if the WRITE command fails
    
    With CSW_HACK feature, CSW is returned immediately for WRITE commands
    without waiting for data to be written to the media. There are some
    scenarios where because of some error while processing of WRITE command
    (e.g unmounting of media during data transfer), CSW is not sent.
    Handle all such corner cases.
    
    Change-Id: Id795b7ec7afc10e67a3309e6b650dfc5b7867c9e
    CRs-fixed: 281801
    Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
    Velempati, Chiranjeevi committed with Kali- Jan 10, 2012
  4. bravo: button backlight dim

    Kali- committed Jan 10, 2012
Commits on Dec 20, 2011
  1. wireless: Protect regdomain change by mutex

    Dmitry Shmidt committed with Kali- Dec 20, 2011
  2. net: wireless: bcm4329: Fix pno_enable if disassociated

    Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
    Dmitry Shmidt committed with Kali- Dec 20, 2011
Commits on Dec 19, 2011
  1. PM: Add missing syscore_suspend() and syscore_resume() calls

    Device suspend/resume infrastructure is used not only by the suspend
    and hibernate code in kernel/power, but also by APM, Xen and the
    kexec jump feature.  However, commit 40dc166
    (PM / Core: Introduce struct syscore_ops for core subsystems PM)
    failed to add syscore_suspend() and syscore_resume() calls to that
    code, which generally leads to breakage when the features in question
    are used.
    
    To fix this problem, add the missing syscore_suspend() and
    syscore_resume() calls to arch/x86/kernel/apm_32.c, kernel/kexec.c
    and drivers/xen/manage.c.
    
    Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
    Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
    Acked-by: Ian Campbell <ian.campbell@citrix.com>
    rjwysocki committed with Kali- Dec 19, 2011
  2. PM / Core: Introduce struct syscore_ops for core subsystems PM

    Some subsystems need to carry out suspend/resume and shutdown
    operations with one CPU on-line and interrupts disabled.  The only
    way to register such operations is to define a sysdev class and
    a sysdev specifically for this purpose which is cumbersome and
    inefficient.  Moreover, the arguments taken by sysdev suspend,
    resume and shutdown callbacks are practically never necessary.
    
    For this reason, introduce a simpler interface allowing subsystems
    to register operations to be executed very late during system suspend
    and shutdown and very early during resume in the form of
    strcut syscore_ops objects.
    
    Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
    Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
    rjwysocki committed with Kali- Dec 19, 2011
Commits on Dec 2, 2011
  1. cpufreq: interactive: Fix handling of SMP where CPUs must scale in ta…

    …ndem
    
    The interactive governor relies on quirks of the Tegra 2 cpufreq
    implementation for handling SMP systems where the CPUs do not have
    separate rate controls.  It needs to determine the maximum rate
    for all CPUs covered by the policy and set that speed.
    
    Change-Id: I1ed9fa171e5a9c45a1fa5944e3fa823eb157e81f
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Jun 22, 2011
  2. include/linux/printk.h: use and neaten no_printk

    - Move no_printk above first CONFIG_PRINTK block so it can be used by
      printk_once.
    
    - Convert statement expression if (0) printk macros to no_printk.
    
    - Convert printk_once(x...) to more normally used (fmt, ...) fmt,
      ##__VA_ARGS__.
    
    - Standardize __attribute__ use.
    
    - Expand single line inline functions.
    
    - Remove space before pointer.
    JoePerches committed with Kali- Dec 2, 2011
  3. ARM: idle: call idle notifiers before stopping nohz tick

    If an idle notifier modifies a timer, calling the notifier after
    the sched tick has been stopped may leave the sched tick set too
    early.  Move teh idle notifier call before the call to
    tick_nohz_stop_sched_tick.
    
    Change-Id: I0db3284bec6d0193bc5e2a57650ab06bd8342319
    Signed-off-by: Colin Cross <ccross@android.com>
    colincross committed with Kali- Nov 30, 2011
  4. cpufreq: interactive governor: default 20ms timer

    Change-Id: Ie9952f07b38667f2932474090044195c57976faa
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Nov 10, 2011
  5. cpufreq: interactive governor: go to intermediate hi speed before max

    * Add attribute hispeed_freq, which defaults to max.
    
    * Rename go_maxspeed_load to go_hispeed_load.
    
    * If hit go_hispeed_load and at min speed, go to hispeed_freq;
      if hit go_hispeed_load and already above min speed go to max
      speed.
    
    Change-Id: I1050dec5f013fc1177387352ba787a7e1c68703e
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Nov 9, 2011
  6. cpufreq: interactive governor: scale to max only if at min speed

    Change-Id: Ieffb2aa56b5290036285c948718be7be0d3af9e8
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Nov 4, 2011
  7. cpufreq: interactive governor: apply intermediate load on current speed

    Calculate intermediate speed by applyng CPU load to current speed, not
    max speed.
    
    Change-Id: Idecf598b9a203b07c989c5d9e9c6efc67a1afc2e
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Oct 28, 2011
  8. ARM: idle: update idle ticks before call idle end notifier

    Such that interactive cpufreq governor uses up-to-date idle time
    information.
    
    Reported by Colin Cross <ccross@android.com>
    
    Change-Id: I06425444f800f803afc9dc7a6ad0fdb46c918bb6
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Nov 4, 2011
  9. power: cpufreq interactive governor: use default sample time 20ms

    Lower the default time at which a higher speed is allowed to run
    before lowering based on lower CPU load from 80ms to 20ms.  Most
    Android devices should trade power for performance here,
    although tablets and non-battery-powered devices may want to
    override this default.
    
    Change-Id: I1a4f7faeca12793c51d5b92db30a63cca8d4f1be
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Oct 19, 2011
  10. cpufreq: interactive governor: default timer 10ms, maxspeed load 95%

    Modify default timer from 30ms to 10ms, sampling 2 jiffies after
    idle exit on ARM as in Honeycomb.
    
    Modify default go_maxspeed_load from 85% loaded to 95% loaded, for
    use in phones where power savings is more important (tablets may be
    best served overriding this).
    
    Change-Id: I3361a6279979bfae1df5262666a2e30ea7a44328
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Oct 17, 2011
  11. cpufreq: interactive: fix checkpatch warnings on long lines

    Fix up checkpatch warning introduced by long lines in timer_rate
    patch.
    
    Change-Id: I22b105dafb1b49390799bb7577464da03f0f8afb
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jul 19, 2011
  12. Documentation: cpufreq: add description of timer_rate

    Add description of timer_rate tunable and clean up some
    typos.
    
    Change-Id: I4b96a36aad51eed3bef0ee5f571dc6e0a94c8dd9
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jul 1, 2011
  13. cpufreq: interactive: cleanup checkpatch warnings

    Cleanup some style warnings reported by checkpatch
    
    Change-Id: Ie2e6903d52867fb3347e009d7efa3bc4ca755cea
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jul 1, 2011
  14. cpufreq: Add more verbose description of interactive governor

    Update the Kconfig help paragraph to give more detail about
    interactive governor.
    
    Change-Id: I607b817b370accac3a685001649a15e2f7894f59
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jul 1, 2011
  15. Documentation: remove trailing whitespace in governors.txt

    Fixes a checkpatch warning
    
    Change-Id: I2962b7c32f336188de0d2fe4f0f13f1199cb68e2
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jul 1, 2011
  16. cpufreq: interactive: add sysfs control for timer rate

    Add a new sysfs control that tunes the rate of the timer used to
    increase cpu frequency
    
    Change-Id: I1aa13ae54bb43aff5b3688984d2955f56aae1658
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jul 1, 2011
  17. cpufreq: interactive: Add error checking on sysfs interfaces

    This adds better error checking on tunable parameters on sysfs
    interfaces.  Also fixes return value from these functions, previously
    on success they would return 0 which would cause a infinite loop.
    
    Change-Id: Ic05038492166f8673d007202092471f98a2f0dfa
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jun 30, 2011
  18. cpufreq: interactive: use idle notifier

    Convert interactive governor to use idle notifier instead of
    hooking pm_idle directly.
    
    Change-Id: I47e007f330468ac559240a0ae8a3cb06a89ccb67
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jun 28, 2011
  19. ARM: Move leds idle start/stop calls to idle notifiers

    Change-Id: I5d8e4e85b17bbab7992ecb477f0bdb5e4138b166
    Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    colincross committed with Kali- Nov 29, 2011
  20. ARM: Call idle notifiers

    Change-Id: Id833e61c13baa1783705ac9e9046d1f0cc90c95e
    Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Jun 16, 2011
  21. Move x86_64 idle notifiers to generic

    Move the x86_64 idle notifiers originally by Andi Kleen and Venkatesh
    Pallipadi to generic.
    
    Change-Id: Idf29cda15be151f494ff245933c12462643388d5
    Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Jun 16, 2011
  22. cpufreq: interactive: remove debug trace code

    Remove debug trace code in preparation of upstreaming
    
    Change-Id: I0905885e75031f5e9d7cb06878fb68c1fd06d4fe
    Signed-off-by: Allen Martin <amartin@nvidia.com>
    Allen Martin committed with Kali- Jun 28, 2011
  23. PM: Fix printing IRQ names for pending wakeup IRQs

    The IRQ name has moved to the struct irqaction list (so print
    first action's name).
    
    Change-Id: I65a627457f9abaf7c1dcc32d8814243ba2ff4717
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    
    Conflicts:
    
    	kernel/irq/pm.c
    toddpoynor committed with Kali- Jul 25, 2011
  24. cpufreq interactive: support shared CPU scaling

    Change-Id: Id5267f04067bf023f6b140b4de2e88ef7287e941
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    toddpoynor committed with Kali- Jun 7, 2011
  25. power: Add option to log time spent in suspend

    Prints the time spent in suspend in the kernel log, and
    keeps statistics on the time spent in suspend in
    /sys/kernel/debug/suspend_time
    
    Change-Id: Ia6b9ebe4baa0f7f5cd211c6a4f7e813aefd3fa1d
    Signed-off-by: Colin Cross <ccross@android.com>
    Signed-off-by: Todd Poynor <toddpoynor@google.com>
    colincross committed with Kali- Jul 19, 2011