bmips: leds-sercomm-msp430: improve driver
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 20 Apr 2023 09:09:38 +0000 (11:09 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 23 Apr 2023 10:19:02 +0000 (12:19 +0200)
commit7f285b9c1df2b2332832df33bee9a12c0532cee6
treebb8d6548edb784855c8ea4d376fb02a922545243
parentf6f4db6e4d156d9d0dacc9d19d4355dc284d6483
bmips: leds-sercomm-msp430: improve driver

- Add missing module functions.
- Fix infinite pattern trigger by converting negative values to 0.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/files/drivers/leds/leds-sercomm-msp430.c