1. 12 2月, 2015 1 次提交
  2. 11 2月, 2015 1 次提交
  3. 10 2月, 2015 1 次提交
    • A
      toshiba_acpi: Make toshiba_eco_mode_available more robust · 98fc4ec6
      Azael Avalos 提交于
      Some Toshiba laptops do not come with the ECO led installed, however,
      the driver is registering support for it when it should not.
      
      This patch makes the toshiba_eco_mode_available function more robust
      in detecting ECO led capabilities, not registering the led on laptops
      that do not support it and registering the led when it really does.
      
      The ECO led function now returns 0x8e00 (Not Installed) by querying
      with in[3] = 0, whenever theres no physical LED installed, and
      returning 0x8300 (Input Data Error) when it is, however, there are
      some BIOSes that have stub function calls not returning anything and
      and the LED device was being registered too, hence the change of the
      default return value from 1 to 0.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      
      Minor comment update, fixed a whitespace error, s/truly/actual/.
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      98fc4ec6
  4. 08 2月, 2015 2 次提交
  5. 07 2月, 2015 4 次提交
  6. 29 1月, 2015 5 次提交
  7. 24 1月, 2015 7 次提交
  8. 16 12月, 2014 1 次提交
    • R
      platform/x86/acerhdf: Still depends on THERMAL · 200db647
      Randy Dunlap 提交于
      acerhdf uses thermal interfaces so it should depend on THERMAL.
      It also should not select a thermal driver without checking that
      THERMAL is enabled.
      
      This fixes the following build errors when THERMAL=m and
      ACERHDF=y.
      
      drivers/built-in.o: In function `acerhdf_set_mode':
      acerhdf.c:(.text+0x3e02e1): undefined reference to `thermal_zone_device_update'
      drivers/built-in.o: In function `acerhdf_unbind':
      acerhdf.c:(.text+0x3e052d): undefined reference to `thermal_zone_unbind_cooling_device'
      drivers/built-in.o: In function `acerhdf_bind':
      acerhdf.c:(.text+0x3e0593): undefined reference to `thermal_zone_bind_cooling_device'
      drivers/built-in.o: In function `acerhdf_init':
      acerhdf.c:(.init.text+0x1c2f5): undefined reference to `thermal_cooling_device_register'
      acerhdf.c:(.init.text+0x1c360): undefined reference to `thermal_zone_device_register'
      drivers/built-in.o: In function `acerhdf_unregister_thermal':
      acerhdf.c:(.text.unlikely+0x3c67): undefined reference to `thermal_cooling_device_unregister'
      acerhdf.c:(.text.unlikely+0x3c91): undefined reference to `thermal_zone_device_unregister'
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NPeter Feuerer <peter@piie.net>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      200db647
  9. 04 12月, 2014 18 次提交