misc: led: pca9551_led: Fix problem with multiple blink frequencies
authorStefan Roese <sr@denx.de>
Mon, 6 Jul 2015 11:35:55 +0000 (13:35 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:01:57 +0000 (15:01 -0400)
commitf5df36d0c80eafee94d14e33a01f0f693f041a3c
treeda2821c89e40569c4c7ba8b77ed38a16ccd2914c
parent6b3305683610d0d63a43e92aa241c3966f5d4976
misc: led: pca9551_led: Fix problem with multiple blink frequencies

Only 2 frequencies are supported. The current driver implementation does
not always use the 2 last configured blink frequencies. This patch
fixes this problem. So that the last two entered frequencies are
active.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Tom Rini <trini@konsulko.com>
drivers/misc/pca9551_led.c