1. 27 Nov, 2008 1 commit
    • Henrique de Moraes Holschuh's avatar
      ACPI: thinkpad-acpi: fix fan sleep/resume path · 0081b162
      Henrique de Moraes Holschuh authored
      This fixes a regression from v2.6.27, caused by commit
      5814f737e1cd2cfa2893badd62189acae3e1e1fd, "ACPI: thinkpad-acpi:
      attempt to preserve fan state on resume".
      
      It is possible for fan_suspend() to fail to properly initialize
      fan_control_desired_level as required by fan_resume(), resulting on
      the fan always being set to level 7 on resume if the user didn't
      touch the fan controller.
      
      In order to get fan sleep/resume handling to work right:
      
      1. Fix the fan_suspend handling of the T43 firmware quirk. If it is
      still undefined, we didn't touch the fan yet and that means we have no
      business doing it on resume.
      
      2. Store the fan level on its own variable to avoid any possible
      issues with hijacking fan_control_desired_level (which isn't supposed
      to have anything other than 0-7 in it, anyway).
      
      3. Change the fan_resume code to me more straightforward to understand
      (although we DO optimize the boolean logic there, otherwise it looks
      disgusting).
      
      4. Add comments to help understand what the code is supposed to be
      doing.
      
      5. Change fan_set_level to be less strict about how auto and
      full-speed modes are requested.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=11982Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Reported-by: default avatarTino Keitel <tino.keitel@tikei.de>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      0081b162
  2. 26 Nov, 2008 7 commits
  3. 21 Nov, 2008 1 commit
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · ed313489
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 5330/1: mach-pxa: Fixup reset for systems using reboot=cold or other strings
        [ARM] pxa: fix incorrect PCMCIA PSKTSEL pin configuration for spitz
        [ARM] pxa: fix I2C controller device being registered twice on Akita
        pxafb: only initialize the smart panel thread when dealing with a smartpanel
        pxafb: introduce LCD_TYPE_MASK and use it.
      ed313489
  4. 20 Nov, 2008 31 commits