Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737965 > unrolled thread

[PATCH 0/3] iio: adc: twl4030: Fix some error handling issues in 'twl4030_madc_probe()'

Started byChristophe JAILLET <christophe.jaillet@wanadoo.fr>
First post2017-09-23 08:10 +0200
Last post2017-09-23 08:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] iio: adc: twl4030: Fix some  error handling issues in 'twl4030_madc_probe()' Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-09-23 08:10 +0200

#1737965 — [PATCH 0/3] iio: adc: twl4030: Fix some error handling issues in 'twl4030_madc_probe()'

FromChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Date2017-09-23 08:10 +0200
Subject[PATCH 0/3] iio: adc: twl4030: Fix some error handling issues in 'twl4030_madc_probe()'
Message-ID<usLNv-7Vv-3@gated-at.bofh.it>
These 3 patches are all related to error hangling in 'twl4030_madc_probe()'.
They are also all related to commit 7cc97d77ee8a
("iio: adc: twl4030: Fix ADC[3:6] readings")

The semantic of the patches behing slighly different:
   - direct return instead of going through the error handling path
   - missing function in the error handling path
   - spurious pattern (IMO) if unable to enable a regulator
I have splitted them in 3 parts.

Christophe JAILLET (3):
  iio: adc: twl4030: Fix an error handling path in
    'twl4030_madc_probe()'
  iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling
    path of 'twl4030_madc_probe()'
  iio: adc: twl4030: Return an error if we can not enable the vusb3v1
    regulator in 'twl4030_madc_probe()'

 drivers/iio/adc/twl4030-madc.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web