16 Apr, 2008
1 commit
-
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable 'misc'
platform drivers, to re-enable auto loading.[dbrownell@users.sourceforge.net: bugfix, registration fixes]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Mar, 2008
1 commit
-
Signed-off-by: Al Viro
Acked-by: Harvey Harrison
Signed-off-by: Linus Torvalds
13 Mar, 2008
5 commits
-
…toshiba' into release
-
Signed-off-by: Jiri Kosina
Acked-by: Randy Dunlap
Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown -
Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown -
The current device detection error messages are all copy & pasted - make
them more descriptive so it's easier to see where in the code a problem
occurs.Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown
12 Mar, 2008
2 commits
-
This warning confuses users, who think it is an error. Not detecting the
mail LED simply means it isn't there, so let's not unduly panic users.Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown -
The mail LED name for acer-wmi currently hardcodes in the colour as green.
This is wrong, since many of the newer laptops now come with an orange
LED, and we have no way of telling what colour is used on a given system.Also, rename the mail LED to be inline with the current recommendations of
the LED class documentation.Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown
11 Mar, 2008
1 commit
-
This should improve reliability of detection of cards already in socket on
driver load.Signed-off-by: Alex Dubov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
05 Mar, 2008
1 commit
-
I used the wrong return convention on hotkey_get_tablet_mode(), breaking a lot
of stuff. Bad Henrique!Fix it to return the status in the parameter-by-reference, and IO status on
the function return value. Duh.Signed-off-by: Henrique de Moraes Holschuh
Cc: Zdenek Kabelac
Cc: "Rafael J. Wysocki"
Cc: Lukas Hejtmanek
Cc: Len Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
21 Feb, 2008
3 commits
-
This patch fixes an off-by-one spotted by the Coverity checker.
Signed-off-by: Adrian Bunk
Acked-by: Mattia Dongili
Signed-off-by: Len Brown -
Fix following warnings:
WARNING: vmlinux.o(.text+0x672615): Section mismatch in reference from the function acer_platform_remove() to the function .exit.text:acer_backlight_exit()
WARNING: vmlinux.o(.devinit.text+0x1e859): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_led_init()
WARNING: vmlinux.o(.devinit.text+0x1e878): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_backlight_init()Remove __exit annotation from acer_backlight_exit(). We cannot reference
a __exit annotated function from non __exit functions.acer_led_init() and acer_backlight_init() where both annotated __init but
used from a __devinit function. This would result in an oops should
gcc drop their inlining and the module are hot plugged.Fix by annotating acer_led_init() and acer_backlight_init() __devinit.
Signed-off-by: Sam Ravnborg
Cc: Carlos Corbacho
Signed-off-by: Len Brown -
…sc', 'suspend', 'thermal', 'thinkpad' and 'tsc' into release
16 Feb, 2008
9 commits
-
The TM4200 series use the same method as the TM2490 series to control the
mail LED, so add a DMI based quirk for these laptops.Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown -
A quick study of the 0x5009/0x500A HKEY event on the X61t DSDT revealed the
existence of the EC HTAB register (EC 0x0f, bit 7), and a compare with the
X41t DSDT shows that HKEY.MHKG can be used to verify if the ThinkPad is
tablet-capable (MHKG present), and in tablet mode (bit 3 of MHKG return is
set).Add an attribute to report this information, "hotkey_tablet_mode". This
attribute has poll()/select() support, and can be used along with EV_SW
SW_TABLET_MODE to hook userspace to tablet events.Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Fixes some minor points in the radio switch code and docs.
Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Issue EV_SW SW_TABLET_MODE events for HKEY events 0x5009 and 0x500A on the
X41t/X60t/X61t. As usual, we suppress the HKEY events on the netlink
interface to avoid sending duplicate events to userspace.Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
The video output port control feature is not very useful on many ThinkPads
(especially when a X server is running), and lately userspace is getting
better and better at it, so it makes sense to allow users to stripe out the
thinkpad-acpi video feature from their kernels and save at least 2KB.Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Issue EV_SW events at module init time to synchronize the input device with
the current state of the switch, otherwise we might lose the first event.Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
The open() and close() hooks for the input device are useful even when
hotkey NVRAM polling support is not in use, so it is better to always have
them around.Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Thanks to Damjan for noticing this one.
Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Need to extract errors using PTR_ERR macro and
process accordingly.thermal_cooling_device_register
returning NULL means that CONFIG_THERMAL=n and in that
case no need to create symbolic links.Signed-off-by: Thomas Sujith
Signed-off-by: Len Brown
14 Feb, 2008
1 commit
-
Signed-off-by: Adrian Bunk
Acked-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown
10 Feb, 2008
2 commits
-
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
Merge branches 'release' and 'buildfix' into release
acer-wmi - Add documentation
sonypi - Move sonypi.txt to Documentation/laptops
sony-laptop - Move sony-laptop.txt to Documentation/laptops
thinkpad-acpi - Move thinkpad-acpi.txt to Documentation/laptops
Documentation - Create laptops sub-directory
ACPI: thermal: buildfix for CONFIG_THERMAL=n
cpuidle: build fix for non-x86
acer-wmi: Fix backlight on AMW0 (V1) laptops
tc1100-wmi: Mark as experimental
ACPI: SBS: Host controller must initialize before SBS. -
Sony MemoryStick cards are used in many products manufactured by Sony.
They are available both as storage and as IO expansion cards. Currently,
only MemoryStick Pro storage cards are supported via TI FlashMedia
MemoryStick interface.[mboton@gmail.com: biuld fix]
[akpm@linux-foundation.org: build fix]
Signed-off-by: Alex Dubov
Signed-off-by: Miguel Boton
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Feb, 2008
8 commits
-
Add some initial documentation detailing what acer-wmi is, and how to use
it. Update the Kconfig entry with a reference to the documentation.Signed-off-by: Carlos Corbacho
Signed-off-by: Randy Dunlap
Signed-off-by: Len Brown -
Also update references to sony-laptop.txt in Kconfig.
Signed-off-by: Carlos Corbacho
Signed-off-by: Randy Dunlap
CC: Mattia Dongili
Signed-off-by: Len Brown -
Also update references to thinkpad-acpi.txt in Kconfig.
Signed-off-by: Carlos Corbacho
Signed-off-by: Randy Dunlap
CC: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
There is some leftover cruft from the old quirk infrastructure that causes
us to be unable to set the backlight on older laptops.Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown -
tc1100-wmi has not undergone as much testing as acer-wmi, so it certainly
should be marked as experimental as well until we get more user feedback.Signed-off-by: Carlos Corbacho
Signed-off-by: Len Brown -
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
acer-wmi, tc1100-wmi: select ACPI_WMI
ACPI: WMI: Improve Kconfig description
ACPI: DMI: add Panasonic CF-52 and Thinpad X61
ACPI: thermal: syntax, spelling, kernel-doc
intel_menlo: build on X86 only
ACPI: build WMI on X86 only
ACPI: cpufreq: Print _PPC changes via cpufreq debug layer
ACPI: add newline to printk -
PWM device setup, and a simple PWM driver exposing a programming interface
giving access to each channel's full capabilities. Note that this doesn't
support starting several channels in synch.[hskinnemoen@atmel.com: allocate platform device dynamically]
[hskinnemoen@atmel.com: Kconfig fix]
Signed-off-by: David Brownell
Signed-off-by: Haavard Skinnemoen
Cc: Andrew Victor
Cc: Nicolas Ferre
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Feb, 2008
5 commits
-
It is safe for these Kconfig entries to use select because
they select ACPI_WMI, which already has its dependencies
satisfied. This makes Kconfig more user friendly, since
the user selects the driver they want and the dependency
is met for them. Otherwise, the user would have to find
and enable ACPI_WMI to make enabling these drivers possible.Signed-off-by: Len Brown
-
The enclosure misc device is really just a library providing sysfs
support for physical enclosure devices and their components.Signed-off-by: James Bottomley
-
Signed-off-by: Len Brown
-
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (112 commits)
ACPI: fix build warning
Revert "cpuidle: build fix for non-x86"
ACPI: update intrd DSDT override console messages
ACPI: update DSDT override documentation
ACPI: Add "acpi_no_initrd_override" kernel parameter
ACPI: its a directory not a folder....
ACPI: misc cleanups
ACPI: add missing prink prefix strings
ACPI: cleanup acpi.h
ACPICA: fix CONFIG_ACPI_DEBUG_FUNC_TRACE build
ACPI: video: Ignore ACPI video devices that aren't present in hardware
ACPI: video: reset brightness on resume
ACPI: video: call ACPI notifier chain for ACPI video notifications
ACPI: create notifier chain to get hotkey events to graphics driver
ACPI: video: delete unused display switch on hotkey event code
ACPI: video: create "brightness_switch_enabled" modparam
cpuidle: Add a poll_idle method
ACPI: cpuidle: Support C1 idle time accounting
ACPI: enable MWAIT for C1 idle
ACPI: idle: Fix acpi_safe_halt usages and interrupt enabling/disabling
...
07 Feb, 2008
1 commit
-
As discussed on LKML some notion of 'function' is needed in
LED naming. This patch adds this to the documentation and
standardises existing LED drivers.Signed-off-by: Richard Purdie