Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | leds: mt6323: Fix an off by one bug in probe | Dan Carpenter | 2017-03-23 | 1 | -1/+1 |
| | | | | | | | | | | It should be ">= MT6323_MAX_LEDS" instead of ">". Also "reg" is a u32 so it can't be negative and we can remove the test for negative values. Fixes: 216ec6cc4c19 ("leds: Add LED support for MT6323 PMIC") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> | ||||
* | leds: Add LED support for MT6323 PMIC | Sean Wang | 2017-03-21 | 1 | -0/+502 |
MT6323 PMIC is a multi-function device that includes LED function. It allows attaching up to 4 LEDs which can either be on, off or dimmed and/or blinked with the controller. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> |