mediatek: add initialization after reset
authorSven Wegener <sven.wegener@stealer.net>
Sat, 12 Jun 2021 19:56:22 +0000 (21:56 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 18 Sep 2022 14:39:41 +0000 (15:39 +0100)
commit40610c53226931e9ccab4c9e4b225e7ca6039c1d
tree2a0f76f86781ab00dc129beb2c453637c10c09bc
parent26cd0c1ee93c9c986367927394776071e28d3f86
mediatek: add initialization after reset

During GPIO initialization the pin state flips and triggers a reset of
the ledbar MCU. It needs to be moved through an initialization sequence
before working correctly.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit 013a956f086dc5d88f6e9cbd852ed4d900d436e0)
target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c