diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 00:21:55 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 00:21:55 -0500 |
| commit | bb1281f2aae08e5ef23eb0692c8833e95579cdf2 (patch) | |
| tree | e00abd368a90eb947df37ba1e6082c864635cb80 /drivers/leds | |
| parent | 4988abf1749241bc80600a6b3283d03898d2717c (diff) | |
| parent | c04e7da0133fbe7f799b9356982371d228df9994 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina:
"Usual rocket science stuff from trivial.git"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
neighbour.h: fix comment
sched: Fix warning on make htmldocs caused by wait.h
slab: struct kmem_cache is protected by slab_mutex
doc: Fix typo in USB Gadget Documentation
of/Kconfig: Spelling s/one/once/
mkregtable: Fix sscanf handling
lp5523, lp8501: comment improvements
thermal: rcar: comment spelling
treewide: fix comments and printk msgs
IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()
Documentation: update /proc/uptime field description
Documentation: Fix size parameter for snprintf
arm: fix comment header and macro name
asm-generic: uaccess: Spelling s/a ny/any/
mtd: onenand: fix comment header
doc: driver-model/platform.txt: fix a typo
drivers: fix typo in DEVTMPFS_MOUNT Kconfig help text
doc: Fix typo (acces_process_vm -> access_process_vm)
treewide: Fix typos in printk
drivers/gpu/drm/qxl/Kconfig: reformat the help text
...
Diffstat (limited to 'drivers/leds')
| -rw-r--r-- | drivers/leds/leds-lp5523.c | 10 | ||||
| -rw-r--r-- | drivers/leds/leds-lp8501.c | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c index fd9ab5f61441..3a0bc886a87a 100644 --- a/drivers/leds/leds-lp5523.c +++ b/drivers/leds/leds-lp5523.c | |||
| @@ -35,7 +35,15 @@ | |||
| 35 | 35 | ||
| 36 | #include "leds-lp55xx-common.h" | 36 | #include "leds-lp55xx-common.h" |
| 37 | 37 | ||
| 38 | #define LP5523_PROGRAM_LENGTH 32 | 38 | #define LP5523_PROGRAM_LENGTH 32 /* bytes */ |
| 39 | /* Memory is used like this: | ||
| 40 | 0x00 engine 1 program | ||
| 41 | 0x10 engine 2 program | ||
| 42 | 0x20 engine 3 program | ||
| 43 | 0x30 engine 1 muxing info | ||
| 44 | 0x40 engine 2 muxing info | ||
| 45 | 0x50 engine 3 muxing info | ||
| 46 | */ | ||
| 39 | #define LP5523_MAX_LEDS 9 | 47 | #define LP5523_MAX_LEDS 9 |
| 40 | 48 | ||
| 41 | /* Registers */ | 49 | /* Registers */ |
diff --git a/drivers/leds/leds-lp8501.c b/drivers/leds/leds-lp8501.c index f1c704f2243a..00f068b0fa6f 100644 --- a/drivers/leds/leds-lp8501.c +++ b/drivers/leds/leds-lp8501.c | |||
| @@ -263,7 +263,7 @@ static void lp8501_firmware_loaded(struct lp55xx_chip *chip) | |||
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | /* | 265 | /* |
| 266 | * Program momery sequence | 266 | * Program memory sequence |
| 267 | * 1) set engine mode to "LOAD" | 267 | * 1) set engine mode to "LOAD" |
| 268 | * 2) write firmware data into program memory | 268 | * 2) write firmware data into program memory |
| 269 | */ | 269 | */ |
