Signed-off-by: Alexander Shiyan <eagle.alexander923@xxxxxxxxx> --- drivers/led/led-pca955x.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/led/led-pca955x.c b/drivers/led/led-pca955x.c index 848feb9773..aa518fe738 100644 --- a/drivers/led/led-pca955x.c +++ b/drivers/led/led-pca955x.c @@ -387,11 +387,10 @@ static int led_pca955x_probe(struct device_d *dev) err = pca955x_write_psc(client, 0, 0); if (err) return err; + err = pca955x_write_psc(client, 1, 0); - if (err) - return err; - return 0; + return err; } static struct driver_d led_pca955x_driver = { -- 2.32.0