linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] leds: lm3692x: Probing and flag fixes
@ 2019-09-18  2:19 Guido Günther
  2019-09-18  2:19 ` [PATCH 1/5] leds: lm3692x: Print error value on dev_err Guido Günther
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Guido Günther @ 2019-09-18  2:19 UTC (permalink / raw)
  To: Jacek Anaszewski, Pavel Machek, Dan Murphy, linux-leds, linux-kernel

The driver currently returns success on init although probing fails and
register setup uses flag values from other registers which is confusing
when reading the driver. This series cleans this up.

Guido Günther (5):
  leds: lm3692x: Print error value on dev_err
  leds: lm3692x: Don't overwrite return value in error path
  leds: lm3692x: Handle failure to probe the regulator
  leds: lm3692x: Use flags from LM3692X_BOOST_CTRL
  leds: lm3692x: Use flags from LM3692X_BRT_CTRL

 drivers/leds/leds-lm3692x.c | 45 ++++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 20 deletions(-)

-- 
2.23.0.rc1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-09-19 10:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18  2:19 [PATCH 0/5] leds: lm3692x: Probing and flag fixes Guido Günther
2019-09-18  2:19 ` [PATCH 1/5] leds: lm3692x: Print error value on dev_err Guido Günther
2019-09-18 18:23   ` Dan Murphy
2019-09-18  2:19 ` [PATCH 2/5] leds: lm3692x: Don't overwrite return value in error path Guido Günther
2019-09-18 18:33   ` Dan Murphy
2019-09-19 10:57   ` Pavel Machek
2019-09-18  2:19 ` [PATCH 3/5] leds: lm3692x: Handle failure to probe the regulator Guido Günther
2019-09-18 18:41   ` Dan Murphy
2019-09-18  2:19 ` [PATCH 4/5] leds: lm3692x: Use flags from LM3692X_BOOST_CTRL Guido Günther
2019-09-18 18:46   ` Dan Murphy
2019-09-18  2:19 ` [PATCH 5/5] leds: lm3692x: Use flags from LM3692X_BRT_CTRL Guido Günther
2019-09-18 18:48   ` Dan Murphy
2019-09-19  9:54 ` [PATCH 0/5] leds: lm3692x: Probing and flag fixes Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).