1. 15 Dec, 2014 1 commit
    • Randy Dunlap's avatar
      platform/x86/acerhdf: Still depends on THERMAL · 200db647
      Randy Dunlap authored
      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: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: default avatarPeter Feuerer <peter@piie.net>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      200db647
  2. 11 Dec, 2014 2 commits
  3. 04 Dec, 2014 7 commits
    • Andy Lutomirski's avatar
      acpi: Remove _OSI(Linux) for ThinkPads · a707c27c
      Andy Lutomirski authored
      AFAICT the only reason to set _OSI(Linux) on ThinkPads is to get
      sensible mute button behavior.  Now that the thinkpad_acpi driver
      can do this on is own, there is no reason to keep the ACPI
      quirk.
      
      Cc: Len Brown <len.brown@intel.com>
      Cc: Jerone Young <jerone.young@canonical.com>
      Signed-off-by: default avatarAndy Lutomirski <luto@amacapital.net>
      Acked-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      a707c27c
    • Andy Lutomirski's avatar
      thinkpad-acpi: Try to use full software mute control · 9a417ec0
      Andy Lutomirski authored
      ThinkPads have hardware volume controls and three buttons to control
      them.  (These are separate from the standard mixer.)  By default,
      the buttons are:
      
       - Mute: Mutes the hardware volume control and, on some models,
         generates KEY_MUTE.
      
       - Up: Unmutes, generates KEY_VOLUMEUP, and increases volume if
         applicable.  (Newer thinkpads only have hardware mute/unmute.)
      
       - Down: Unmutes, generates KEY_VOLUMEDOWN, and decreases volume
         if applicable.
      
      This behavior is unfortunate, since modern userspace will also
      handle the hotkeys and change the other mixer.  If the software
      mixer is muted and the hardware mixer is unmuted and you push mute,
      hilarity ensues as they both switch state.
      
      Rather than adding a lot of complex ALSA integration to fix this,
      just disable the special ThinkPad volume controls when possible.
      This turns the mute and volume buttons into regular buttons, and
      standard software controls will work as expected.
      
      ALSA already knows about the mute light on models with a mute light,
      so everything should just work.
      
      This should also allow us to remove _OSI(Linux) for all ThinkPads.
      
      For future reference: It turns out that we can ask ACPI for one of
      three behaviors directly on very new models.  They are "latch" (the
      default), "none" (no automatic control), and "toggle" (mute unmutes
      when muted).  All of the modes besides "none" seem to be a bit
      buggy, though, and there doesn't seem to be a consistent way to get
      any notification when the HW mute state is changed.
      Signed-off-by: default avatarAndy Lutomirski <luto@mit.edu>
      Acked-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      9a417ec0
    • Peter Feuerer's avatar
      acerhdf: minor clean up · f587f07f
      Peter Feuerer authored
        * renamed bios_settings_t to bios_settings, as it is no typedef
        * replaced "unsigned char" by u8 in bios_settings struct for better
          readability.
      
      Cc: platform-driver-x86@vger.kernel.org
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andreas Mohr <andi@lisas.de>
      Acked-by: default avatarBorislav Petkov <bp@suse.de>
      Signed-off-by: default avatarPeter Feuerer <peter@piie.net>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      f587f07f
    • Peter Feuerer's avatar
      acerhdf: added critical trip point · 7e8b6d73
      Peter Feuerer authored
      added critical trip point which represents the temperature limit.
      Added return -EINVAL in case wrong trip point is provided.
      
      Cc: platform-driver-x86@vger.kernel.org
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andreas Mohr <andi@lisas.de>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Javi Merino <javi.merino@arm.com>
      Signed-off-by: default avatarPeter Feuerer <peter@piie.net>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      7e8b6d73
    • Peter Feuerer's avatar
      acerhdf: Use bang-bang thermal governor · 48c8dd64
      Peter Feuerer authored
      acerhdf has been doing an on-off fan control using hysteresis by
      post-manipulating the outcome of thermal subsystem trip point handling.
      This patch enables acerhdf to use the bang-bang governor, which is
      intended for on-off controlled fans.
      
      Cc: platform-driver-x86@vger.kernel.org
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      CC: Zhang Rui <rui.zhang@intel.com>
      Cc: Andreas Mohr <andi@lisas.de>
      Cc: Javi Merino <javi.merino@arm.com>
      Acked-and-tested-by: default avatarBorislav Petkov <bp@suse.de>
      Signed-off-by: default avatarPeter Feuerer <peter@piie.net>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      48c8dd64
    • Peter Feuerer's avatar
      acerhdf: Adding support for new models · 7438d990
      Peter Feuerer authored
      added following new models:
         * Aspire 5755G
         * AO521
         * AO751h
         * Aspire One 753
         * Extensa 5420
         * Aspire 5315
         * Aspire 5739G
         * TravelMate TM8573T
      
      Cc: platform-driver-x86@vger.kernel.org
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andreas Mohr <andi@lisas.de>
      Acked-by: default avatarBorislav Petkov <bp@suse.de>
      Signed-off-by: default avatarPeter Feuerer <peter@piie.net>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      7438d990
    • Peter Feuerer's avatar
      acerhdf: Adding support for "manual mode" · 5ef6578c
      Peter Feuerer authored
      Some Acer models require an additional command to turn off the fan after
      bios mode has been enabled.  Adding new section in bios table to allow
      support for those models, by writing an extra "manual mode" register.
      
      Cc: platform-driver-x86@vger.kernel.org
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andreas Mohr <andi@lisas.de>
      Acked-by: default avatarBorislav Petkov <bp@suse.de>
      Signed-off-by: default avatarPeter Feuerer <peter@piie.net>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      5ef6578c
  4. 03 Dec, 2014 14 commits
  5. 19 Nov, 2014 10 commits
  6. 17 Nov, 2014 3 commits
    • Linus Torvalds's avatar
      Linux 3.18-rc5 · fc14f9c1
      Linus Torvalds authored
      fc14f9c1
    • Linus Torvalds's avatar
      Merge tag 'armsoc-for-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · e35c5a27
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "Another small set of fixes:
      
         - some DT compatible typo fixes
         - irq setup fix dealing with irq storms on orion
         - i2c quirk generalization for mvebu
         - a handful of smaller fixes for OMAP
         - a couple of added file patterns for OMAP entries in MAINTAINERS"
      
      * tag 'armsoc-for-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: at91/dt: Fix sama5d3x typos
        pinctrl: dra: dt-bindings: Fix output pull up/down
        MAINTAINERS: Update entry for omap related .dts files to cover new SoCs
        MAINTAINERS: add more files under OMAP SUPPORT
        ARM: dts: AM437x-SK-EVM: Fix DCDC3 voltage
        ARM: dts: AM437x-GP-EVM: Fix DCDC3 voltage
        ARM: dts: AM43x-EPOS-EVM: Fix DCDC3 voltage
        ARM: dts: am335x-evm: Fix 5th NAND partition's name
        ARM: orion: Fix for certain sequence of request_irq can cause irq storm
        ARM: mvebu: armada xp: Generalize use of i2c quirk
      e35c5a27
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · 435e46f5
      Linus Torvalds authored
      Pull sparc fixes from David Miller:
      
       1) Fix NULL oops in Schizo PCI controller error handler.
      
       2) Fix race between xchg and other operations on 32-bit sparc, from
          Andreas Larsson.
      
       3) swab*() helpers need a dummy memory input operand to show data flow
          on 64-bit sparc.
      
       4) Fix RCU warnings due to missing irq_{enter,exit}() around
          generic_smp_call_function*() calls.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc64: Fix constraints on swab helpers.
        sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks
        sparc64: Do irq_{enter,exit}() around generic_smp_call_function*().
        sparc64: Fix crashes in schizo_pcierr_intr_other().
      435e46f5
  7. 16 Nov, 2014 3 commits