<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/leds, branch v3.6.9</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.6.9</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.6.9'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2012-08-13T06:34:02Z</updated>
<entry>
<title>leds: renesas: fix error handling</title>
<updated>2012-08-13T06:34:02Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2012-08-08T21:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4a5a4184628c529774c1492bc1a21743b69b5fc3'/>
<id>urn:sha1:4a5a4184628c529774c1492bc1a21743b69b5fc3</id>
<content type='text'>
bfe4c041 "leds: convert Renesas TPU LED driver to devm_kzalloc() and
cleanup error exit path" introduced a possible case in which r_tpu_probe
calls iounmap on a wild pointer. This changes the one case that was
missed in the same way as the other error paths.

Without this patch, building kota2_defconfig results in:

drivers/leds/leds-renesas-tpu.c: In function 'r_tpu_probe':
drivers/leds/leds-renesas-tpu.c:246:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
drivers/leds/leds-renesas-tpu.c:308:17: warning: 'p' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>Revert "leds: use led_set_brightness in led_trigger_event"</title>
<updated>2012-08-13T06:33:02Z</updated>
<author>
<name>Fabio Baltieri</name>
<email>fabio.baltieri@gmail.com</email>
</author>
<published>2012-08-13T06:27:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=86e99d23d0210e8d43a0bb576582a455d907578e'/>
<id>urn:sha1:86e99d23d0210e8d43a0bb576582a455d907578e</id>
<content type='text'>
This reverts commit a0193cbee0809d65362a0767b2d50306b145b2f5.

The problem with the original commit was that it caused a warning with
the MMC trigger calling del_timer_sync from hard-irq context.

Signed-off-by: Fabio Baltieri &lt;fabio.baltieri@gmail.com&gt;
Reported-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>leds: lp8788: Fix updating scale configuration bits</title>
<updated>2012-08-08T01:49:53Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-08-01T12:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4df7309af6f7988da15fc9a0175fc60b997cc0d7'/>
<id>urn:sha1:4df7309af6f7988da15fc9a0175fc60b997cc0d7</id>
<content type='text'>
We need to do left shift (cfg-&gt;num + LP8788_ISINK_SCALE_OFFSET) bits for
updating scale configuration.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Milo(Woogyom) Kim &lt;milo.kim@ti.com&gt;
Tested-by: Milo(Woogyom) Kim &lt;milo.kim@ti.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>leds-lp8788: forgotten unlock at lp8788_led_work</title>
<updated>2012-07-27T00:16:07Z</updated>
<author>
<name>Devendra Naga</name>
<email>develkernel412222@gmail.com</email>
</author>
<published>2012-07-26T18:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d45bb11616c94c76c6e40960a120c0687b708a2e'/>
<id>urn:sha1:d45bb11616c94c76c6e40960a120c0687b708a2e</id>
<content type='text'>
at default case of switch we return with out unlocking the mutex.

Signed-off-by: Devendra Naga &lt;develkernel412222@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>LEDS: propagate error codes in blinkm_detect()</title>
<updated>2012-07-27T00:15:09Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2012-07-26T08:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=18d4a06f9bb013737b9c21921b15033afb0198d9'/>
<id>urn:sha1:18d4a06f9bb013737b9c21921b15033afb0198d9</id>
<content type='text'>
Use the error codes from the lower levels instead of -ENODEV.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Jan-Simon Möller &lt;jansimon.moeller@gmx.de&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>LEDS: memory leak in blinkm_led_common_set()</title>
<updated>2012-07-27T00:13:58Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2012-07-26T07:59:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4d8729a139782d4facc98b7bd7d87c7d10c128b0'/>
<id>urn:sha1:4d8729a139782d4facc98b7bd7d87c7d10c128b0</id>
<content type='text'>
This can return without freeing the bl_work struct.  Also there was no
check for allocation failure.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Jan-Simon Möller &lt;jansimon.moeller@gmx.de&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>leds: add new lp8788 led driver</title>
<updated>2012-07-26T04:04:33Z</updated>
<author>
<name>Kim, Milo</name>
<email>Milo.Kim@ti.com</email>
</author>
<published>2012-07-20T08:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=eb80411b54fde031e9a8b368ff7b32c774ecfc5c'/>
<id>urn:sha1:eb80411b54fde031e9a8b368ff7b32c774ecfc5c</id>
<content type='text'>
TI LP8788 PMU has the current sink as the keyboard led driver.
The brightness is controlled by the i2c commands.
Configurable parameters can be defined in the platform side.

Patch v2.
(a) use workqueue on changing the brightness

(b) use mutex_lock/unlock when the brightness is set
    and the led block of lp8788 device is enabled

(c) remove err_dev on _probe()
    : just return as returned value if any errors

(d) replace module_init/exit() with module_platform_driver()

(e) add led configuration structure and loading them by default
    if platform data is null

Signed-off-by: Milo(Woogyom) Kim &lt;milo.kim@ti.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>LEDS: add BlinkM RGB LED driver, documentation and update MAINTAINERS</title>
<updated>2012-07-24T08:00:51Z</updated>
<author>
<name>Jan-Simon Möller</name>
<email>jansimon.moeller@gmx.de</email>
</author>
<published>2012-07-20T08:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b54cf35a7f656c61dd695509e8cf8cc7e1dc3e53'/>
<id>urn:sha1:b54cf35a7f656c61dd695509e8cf8cc7e1dc3e53</id>
<content type='text'>
Add driver for BlinkM device to drivers/leds/.
Add entry to MAINTAINERS file.
Add documentation in Documentation/leds/.

A BlinkM is a RGB LED controlled through I2C.

This driver implements an interface to the LED framework
and another sysfs group to access the internal options
of the BlinkM.

rev6: Use module_i2c_driver().
rev5: Removed own workqueue in favor of events wq.
rev4: Fixed comments by Bryan Wu.
rev3: Fixed issues found by Jonathan Neuschäfer.

(bryan.wu@canonical.com: remove 2 trailing whitespace)

Signed-off-by: Jan-Simon Möller &lt;jansimon.moeller@gmx.de&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>leds: max8997: Simplify max8997_led_set_mode implementation</title>
<updated>2012-07-24T07:48:47Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-07-24T06:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=eb18618b8018bffad6e62f1bc40e4e0c7ee2fa19'/>
<id>urn:sha1:eb18618b8018bffad6e62f1bc40e4e0c7ee2fa19</id>
<content type='text'>
It is not necessary to call max8997_update_reg() twice just for updating
MAX8997_REG_LEN_CNTL register. With proper val and mask arguments to
max8997_update_reg() call, this can be done in one max8997_update_reg() call.
And then we can remove max8997_led_clear_mode() function.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
<entry>
<title>leds/leds-s3c24xx: use devm_gpio_request</title>
<updated>2012-07-23T23:52:40Z</updated>
<author>
<name>Devendra Naga</name>
<email>devendra.aaru@gmail.com</email>
</author>
<published>2012-07-11T09:50:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5ecf6e40bbb8649b8418c8038a2af1faefbc56e4'/>
<id>urn:sha1:5ecf6e40bbb8649b8418c8038a2af1faefbc56e4</id>
<content type='text'>
why?
because if the led_classdev_register fails we wont do gpio free
because using devm_ functions, there is no need for error paths

Signed-off-by: Devendra Naga &lt;devendra.aaru@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@canonical.com&gt;
</content>
</entry>
</feed>
