- 20 Feb, 2009 1 commit
-
-
Adam Nielsen authored
Kernel module providing implementation of LED netfilter target. Each instance of the target appears as a led-trigger device, which can be associated with one or more LEDs in /sys/class/leds/ Signed-off-by:
Adam Nielsen <a.nielsen@shikadi.net> Acked-by:
Richard Purdie <rpurdie@linux.intel.com> Signed-off-by:
Patrick McHardy <kaber@trash.net>
-
- 16 Jan, 2009 1 commit
-
-
Eric Piel authored
Move the second part of the HP laptop disk protection functionality (a red led) to the same driver. From a purely Linux developer's point of view, the led and the accelerometer have nothing related. However, they correspond to the same ACPI functionality, and so will always be used together, moreover as they share the same ACPI PNP alias, there is no other simple to allow to have same loaded at the same time if they are not in the same module. Also make it requires the led class to compile and update the Kconfig text. Signed-off-by:
Pavel Machek <pavel@suse.cz> Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 08 Jan, 2009 11 commits
-
-
Rodolfo Giometti authored
Signed-off-by:
Rodolfo Giometti <giometti@linux.it> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Richard Purdie authored
Add suspend/resume to the core class and remove all the now unneeded code from various drivers. Originally the class code couldn't support suspend/resume but since class_device can there is no reason for each driver doing its own suspend/resume anymore.
-
Mark Brown authored
The voltage and current regulators on the WM8350 AudioPlus PMIC can be used in concert to provide a power efficient LED driver. This driver implements support for this within the standard LED class. Platform initialisation code should configure the LED hardware in the init callback provided by the WM8350 core driver. The callback should use wm8350_isink_set_flash(), wm8350_dcdc25_set_mode() and wm8350_dcdc_set_slot() to configure the operating parameters of the regulators for their hardware and then then use wm8350_register_led() to instantiate the LED driver. This driver was originally written by Liam Girdwood, though it has been extensively modified since then. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Riku Voipio authored
Apparently these might be called under atomic context, and i2c operations may sleep. BUG found by Ross Burton <ross@burtonini.com> Signed-off-by:
Riku Voipio <riku.voipio@iki.fi> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
When the registration fails, we need to release the memory we allocated. Also we need to save the error from led_classdev_register and propagate it up, else we'll return success, even if we failed. Signed-off-by:
Riku Voipio <riku.voipio@iki.fi> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
We want to go upwards, not downwards. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Yoichi Yuasa authored
Cobalt Raq LEDs require LEDS_CLASS=y. Signed-off-by:
Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
drivers/leds/leds-ams-delta.c:154:2: warning: returning void-valued expression Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Richard Purdie <rpurdie@intel.linux.com>
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Constantin Baranov authored
Driver for PC Engines ALIX.2 and ALIX.3 LEDs. Signed-off-by:
Constantin Baranov <const@mimas.ru> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
- 01 Nov, 2008 1 commit
-
-
Huang Weiyi authored
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/leds/leds-hp-disk.c drivers/misc/panasonic-laptop.c This patch removes the said #include <version.h>. Signed-off-by:
Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 30 Oct, 2008 1 commit
-
-
Jonathan Cameron authored
The brightness control register calculation (for the pwm) is effectively the reverse of what would be expected. 1 is maximum brightness, 255 minimum. This patch inverts this. Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Eric Miao <eric.miao@marvell.com>
-
- 27 Oct, 2008 1 commit
-
-
Eric Miao authored
The leds-da903x LED driver was missing the proper #include of linux/workqueue.h, but happened to compile on ARM due to implied includes through other header files. We do need the explict include on other architectures (reported at least for x86-64). Reported-tested-and-acked-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Eric Miao <eric.miao@marvell.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 25 Oct, 2008 1 commit
-
-
Len Brown authored
drivers/leds/leds-hp-disk.c:59: warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type Signed-off-by:
Len Brown <len.brown@intel.com>
-
- 23 Oct, 2008 1 commit
-
-
Stephen Rothwell authored
Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
- 20 Oct, 2008 11 commits
-
-
Richard Purdie authored
Simplify logic in leds-ams-delta after various new drivers writers misunderstood it. Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Richard Purdie authored
Fix a race during trigger registration where we could try and use a lock before it was initialised. Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Qinghuang Feng authored
led_classdev_unregister() has no "__" prefix, remove it. Signed-off-by:
Qinghuang Feng <qhfeng.kernel@gmail.com> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Pavel Machek authored
HP notebooks contain accelerometer-based disk protection subsystem, and LED that indicates hard disk is protected. This is driver for the LED part. Signed-off-by:
Pavel Machek <pavel@suse.cz> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
Mark pca955x_led_set() as static Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Richard Purdie authored
The cm-x270 board uses leds-gpio so remove the now unneeded driver. Acked-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
There's no need for the additional call to strlen(), we can directly return the value returned by sprintf(). We now return a length value that doesn't include the final '\0', but user space shouldn't bother about it anyway. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Sven Wegener authored
The power led is normally lit after boot, let's use the default-on trigger as the default trigger for it. This gets the initial brightness value right and being on is the default behaviour we expect for a power led. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Rodolfo Giometti authored
This allows LEDs to be controlled as a backlight device where they turn off and on when the display is blanked and unblanked. This is useful where you need various key backlight LEDs to dim at the same time as the backlight. Signed-off-by:
Rodolfo Giometti <giometti@linux.it> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Mike Rapoport authored
Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Eric Miao <eric.miao@marvell.com> Signed-off-by:
Richard Purdie <rpurdie@linux.intel.com>
-
Paul Mundt authored
Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 17 Oct, 2008 1 commit
-
-
Bartlomiej Zolnierkiewicz authored
* Add struct ide_disk_ops containing protocol specific methods. * Add 'struct ide_disk_ops *' to ide_drive_t. * Convert ide-{disk,floppy} drivers to use struct ide_disk_ops. * Merge ide-{disk,floppy} drivers into generic ide-gd driver. While at it: - ide_disk_init_capacity() -> ide_disk_get_capacity() Acked-by:
Borislav Petkov <petkovbb@gmail.com> Signed-off-by:
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-
- 16 Oct, 2008 1 commit
-
-
Greg Kroah-Hartman authored
Now that device_create() has been audited, rename things back to the original call to be sane. Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 04 Oct, 2008 2 commits
-
-
Sven Wegener authored
Check the return value of led_classdev_register and unregister all registered devices, if registering one device fails. Also the dynamic memory handling is totally bogus. You can't allocate multiple chunks via kzalloc() and expect them to be in order later. I wonder how this ever worked. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Acked-by:
Nate Case <ncase@xes-inc.com> Tested-by:
Nate Case <ncase@xes-inc.com> Acked-by:
Richard Purdie <rpurdie@rpsys.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Sven Wegener authored
On initialization, we first do the ioremap and then register the led devices. On deinitialization, we do it in reverse order. This prevents someone calling into the brightness_set functions with an invalid latch_address. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Acked-by:
Rod Whitby <rod@whitby.id.au> Acked-by:
Richard Purdie <rpurdie@rpsys.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 23 Sep, 2008 2 commits
-
-
Eric Miao authored
Now as the scoop pins are covered by the generic gpio API, we can use leds-gpio driver instead of special leds-spitz Drop leds-spitz.c and the declarations of now un-referenced spitzscoop_device, spitzscoop2_device. Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by:
Eric Miao <eric.miao@marvell.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Eric Miao authored
Now as the scoop pins are covered by the generic gpio API, we can use leds-gpio driver instead of special leds-corgi Drop leds-corgi.c and remove the declaration of now un-referenced corgiscoop_device. Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by:
Eric Miao <eric.miao@marvell.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 01 Sep, 2008 1 commit
-
-
David S. Miller authored
Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 07 Aug, 2008 3 commits
-
-
Russell King authored
This just leaves include/asm-arm/plat-* to deal with. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h. Then, since asm/hardware.h only exists to include asm/arch/hardware.h, update everything to directly include asm/arch/hardware.h and remove asm/hardware.h. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
There are 43 includes of asm/mach-types.h by files that don't reference anything from that file. Remove these unnecessary includes. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 23 Jul, 2008 1 commit
-
-
Dmitry Baryshkov authored
Make sure led->trigger is valid before calling trigger->activate Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Richard Purdie <rpurdie@rpsys.net>
-