- 20 7月, 2010 1 次提交
-
-
由 Sreedhara DS 提交于
- fix reversing of command/sub arguments - fix a crash if the i2c interface is called before the device is found Signed-off-by: NSreedhara DS <sreedhara.ds@intel.com> Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 01 6月, 2010 1 次提交
-
-
由 Alan Cox 提交于
Commands with data must set the length in the message. Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 20 5月, 2010 13 次提交
-
-
由 Lee, Chun-Yi 提交于
Found the N014, N051 and CR620 are must the same with N034 there are load scm serial model. So, this patch move N014, N051 and CR620 dmi information to right dmi table: msi_load_scm_models_dmi_table[] Signed-off-by: NLee, Chun-Yi <jlee@novell.com>
-
由 Daniel Mack 提交于
drivers/platform/x86/eeepc-wmi.c: In function ‘eeepc_wmi_notify’: drivers/platform/x86/eeepc-wmi.c:209: warning: ‘new’ may be used uninitialized in this function drivers/platform/x86/eeepc-wmi.c:209: note: ‘new’ was declared here Signed-off-by: NDaniel Mack <daniel@caiaq.de> Cc: Matthew Garrett <mjg@redhat.com> Cc: Yong Wang <yong.y.wang@intel.com> Cc: Corentin Chary <corentincj@iksaif.net> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Tejun Heo <tj@kernel.org> Cc: platform-driver-x86@vger.kernel.org Acked-By: NCorentin Chary <corentincj@iksaif.net> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Thomas Renninger 提交于
Signed-off-by: NThomas Renninger <trenn@suse.de> CC: platform-driver-x86@vger.kernel.org CC: mjg59@srcf.ucam.org CC: corentin.chary@gmail.com Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Thomas Renninger 提交于
Output in log with debug=1: ACPI: WMI: DEBUG Event INTEGER_TYPE - 65535 ACPI: WMI: DEBUG Event GUID: CC1A61AC-4256-41A3-B9E0-05A445ADE2F5 Signed-off-by: NThomas Renninger <trenn@suse.de> CC: platform-driver-x86@vger.kernel.org CC: mjg59@srcf.ucam.org CC: corentin.chary@gmail.com Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Thomas Renninger 提交于
To give people easily an idea what could be WMI driven on their system. Introduces: wmi.debug=[01] Tested on an acer: ACPI: WMI: DEBUG Event INTEGER_TYPE - 65535 Situation where a driver registers for specific event and debug handler gets overridden and set again if the registering driver gets unloaded again is untested, but should work. Signed-off-by: NThomas Renninger <trenn@suse.de> CC: platform-driver-x86@vger.kernel.org CC: mjg59@srcf.ucam.org CC: corentin.chary@gmail.com Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Lee, Chun-Yi 提交于
Clean up i8042 filter, rfkill and cancel delayed work when msi-laptop driver initial fail or exit on MSI scm model. Signed-off-by: NLee, Chun-Yi <jlee@novell.com>
-
由 Greg Kroah-Hartman 提交于
Cc: Lee, Chun-Yi <jlee@novell.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Lee, Chun-Yi 提交于
There have some MSI netbook change devices state by EC when user press wlan/bluetooth/wwan function keys. So, add a i8042 filter to sync sw state with BIOS when function keys pressed. Signed-off-by: NLee, Chun-Yi <jlee@novell.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Lee, Chun-Yi 提交于
Setup Wlan/Bluetooth/3G rfkill initial state to sync with the hardware state from EC 0x2e address. Signed-off-by: NLee, Chun-Yi <jlee@novell.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Lee, Chun-Yi 提交于
Add new MSI notebook CR620 dmi information to scm models table. Signed-off-by: NLee, Chun-Yi <jlee@novell.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Lee, Chun-Yi 提交于
Add new MSI netbook N014 and N051 dmi information to scm models table. Signed-off-by: NLee, Chun-Yi <jlee@novell.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julia Lawall 提交于
Use kmemdup when some other buffer is immediately copied into the allocated region. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression from,to,size,flag; statement S; @@ - to = \(kmalloc\|kzalloc\)(size,flag); + to = kmemdup(from,size,flag); if (to==NULL || ...) S - memcpy(to, from, size); // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk>
-
由 Julia Lawall 提交于
Use kzalloc rather than the combination of kmalloc and memset. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,size,flags; statement S; @@ -x = kmalloc(size,flags); +x = kzalloc(size,flags); if (x == NULL) S -memset(x, 0, size); // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk>
-
- 18 5月, 2010 4 次提交
-
-
由 Matthew Garrett 提交于
Make it clear that this driver is only needed for embedded hardware, not PCs. Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Randy Dunlap 提交于
eeepc-wmi uses backlight*() interfaces so it should depend on BACKLIGHT_CLASS_DEVICE. eeepc-wmi.c:(.text+0x2d7f54): undefined reference to `backlight_force_update' eeepc-wmi.c:(.text+0x2d8012): undefined reference to `backlight_device_register' eeepc-wmi.c:(.devinit.text+0x1c31c): undefined reference to `backlight_device_unregister' eeepc-wmi.c:(.devexit.text+0x2f8b): undefined reference to `backlight_device_unregister' Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com> Cc: stable@kernel.org
-
由 Sreedhara DS 提交于
The IPC (inter processor communications) is used to provide the communications between kernel and system control units on some embedded Intel x86 platforms. (Various bits of clean up and restructuring by Alan Cox) Signed-off-by: NSreedhara DS <sreedhara.ds@intel.com> Signed-off-by: NAlan Cox <alan@linux.intel.com>
-
The RFKILL device shares the same ACPI device used for backlight. So, it required a new struct sharing both a backlight_device and a rfkill device. Signed-off-by: NThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
-
- 17 5月, 2010 13 次提交
-
-
Document this, it is no fun to try to second guess why this sort of stuff is in place years after it was added... Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
1. Remove <handle>_path, as its only user was already removed in a previous commit 2. Move all handle initialization, as well as <handle>_parent and <handle>_paths to __init.* sections. This reduces the driver's runtime footprint nicely. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Don't depend on the contents of led_path to know which LED interface the firmware wants. This removes the only user of *_path for the thinkpad-acpi ACPI handlers, which will simplify future code. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Log more human-friendly errors instead of numeric values when setup_acpi_notify() fails to install a notification handler. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Use acpi_format_exception() in acpi_evalf() instead of logging numeric errors. Also, when ACPICA returns an error, we should not be touching the return object, as it is invalid. In debug mode, acpi_evalf() callers would printk the returned crap (but fortunately, not use it). Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Use the EC HID (PNP0C09) to locate its main node, instead of a static list. Suggested-by: NMatthew Garrett <mjg@redhat.com> Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Matthew Garrett <mjg@redhat.com>
-
Disclose the user task doing ALSA access when requested by the debug bitmask. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Handle multiple brightness hotkey presses between two polling cycles. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Extract the backlight level range size detection from the brightness subdriver, and allow the other subdrivers access to that information. This also allows us to relocate some code to a more convenient place. The moved code was largerly unmodified, except for the return type of tpacpi_check_std_acpi_brightness_support(), which now is correctly marked as returning "unsigned int", and and two cosmetic fixes to make checkpatch.pl happy. Fixes for the NVRAM polling mode for the brightness hotkeys will need this. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Move the driver initial greetings out of the first subdriver, as we do a lot of other initialization before that point, and the initial greetings should go as soon as the driver decides that it should load. These greetings are not cosmetic, they make my life easier when users report bugs. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
The hotkey polling code is supposed to generate hotkey messages as close to the way the IBM event-based volume hotkey firmware does as possible, i.e: * Pressing MUTE issues a mute hotkey event, even if already mute; * Pressing Volume up/down issues a volume up/down hotkey event, even if already at maximum or minumum volume; * The act of unmuting issues a volume up/down event, depending on which hotkey was used to unmute. Fix the code to do just that (mute handling was incorrect), and handle multiple hotkey presses between two polling cycles. The new code uses the volume_toggle bit in NVRAM only to detect repeated presses of the mute key and multiple presses of the volume keys trying to go past the end of the volume scale. This will work around a bug in recent Lenovo firmware (e.g. T400), which causes the firmware to not update the volume_toggle bit in certain situations. Reported-by: NYang Zhe <yangzhe1990@gmail.com> Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
The X100e needs some quick fixes to work semi-right with this driver. There are much better ways to do this, but we can start with a quick update and do it properly later. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
Lenovo is playing around with its ACPI BIOS, and will end up reusing method names. Their memory is not nearly as long as thinkpad-acpi's... Secure most of the old IBM codepaths against running in a non-IBM box. This would happen on the Lenovo X100e in video_init(), for example. We would misdetect it as an ancient model 570 firmware. Also, refuse to load the driver if we cannot identify the vendor. No ACPI ThinkPad in existence lacks this information, AFAIK. Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
-
- 08 5月, 2010 1 次提交
-
-
由 Randy Dunlap 提交于
eeepc-wmi uses backlight*() interfaces so it should depend on BACKLIGHT_CLASS_DEVICE. eeepc-wmi.c:(.text+0x2d7f54): undefined reference to `backlight_force_update' eeepc-wmi.c:(.text+0x2d8012): undefined reference to `backlight_device_register' eeepc-wmi.c:(.devinit.text+0x1c31c): undefined reference to `backlight_device_unregister' eeepc-wmi.c:(.devexit.text+0x2f8b): undefined reference to `backlight_device_unregister' Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
-
- 24 4月, 2010 1 次提交
-
-
由 Corentin Chary 提交于
Also remove legacy keymap which was not used since we use sparse_keymap. Signed-off-by: NCorentin Chary <corentincj@iksaif.net>
-
- 13 4月, 2010 6 次提交
-
-
由 Ingo Molnar 提交于
-tip testing found: eeepc-wmi.c:(.text+0x36673c): undefined reference to `sparse_keymap_report_event' drivers/built-in.o: In function `eeepc_wmi_init': eeepc-wmi.c:(.init.text+0x19cd0): undefined reference to `sparse_keymap_setup' eeepc-wmi.c:(.init.text+0x19cf0): undefined reference to `sparse_keymap_free' eeepc-wmi.c:(.init.text+0x19d0b): undefined reference to `sparse_keymap_free' drivers/built-in.o: In function `eeepc_wmi_exit': eeepc-wmi.c:(.exit.text+0x2e87): undefined reference to `sparse_keymap_free' To fix this select INPUT_SPARSEKMAP, like the ASUS driver does. Signed-off-by: NIngo Molnar <mingo@elte.hu> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Dan Carpenter 提交于
We were storing -1 as an unsigned int and as a result the effect of passing -1 was the same as using 1. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Acked-by: NCorentin Chary <corentincj@iksaif.net>
-
由 Yong Wang 提交于
The output of wmi_get_event_data shall be freed before return. Signed-off-by: NMatthew Garrett <mjg@redhat.com> Signed-off-by: NYong Wang <yong.y.wang@linux.intel.com>
-
由 Yong Wang 提交于
Add backlight support for WMI based Eee PC laptops. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Reviewed-by: NCorentin Chary <corentincj@iksaif.net>
-
由 Yong Wang 提交于
Add a platform device and use it as the parent device of all sub-devices. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Reviewed-by: NCorentin Chary <corentincj@iksaif.net>
-
由 Yong Wang 提交于
Add an eeepc_wmi context structure to manage all the sub-devices that will be implemented later on. Put input device into it first. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Reviewed-by: NCorentin Chary <corentincj@iksaif.net>
-