1. 02 7月, 2019 1 次提交
    • K
      regulator: s2mps11: Fix buck7 and buck8 wrong voltages · 16da0eb5
      Krzysztof Kozlowski 提交于
      On S2MPS11 device, the buck7 and buck8 regulator voltages start at 750
      mV, not 600 mV.  Using wrong minimal value caused shifting of these
      regulator values by 150 mV (e.g. buck7 usually configured to v1.35 V was
      reported as 1.2 V).
      
      On most of the boards these regulators are left in default state so this
      was only affecting reported voltage.  However if any driver wanted to
      change them, then effectively it would set voltage 150 mV higher than
      intended.
      
      Cc: <stable@vger.kernel.org>
      Fixes: cb74685e ("regulator: s2mps11: Add samsung s2mps11 regulator driver")
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      16da0eb5
  2. 20 6月, 2019 1 次提交
    • K
      regulator: s2mps11: Fix ERR_PTR dereference on GPIO lookup failure · 70ca117b
      Krzysztof Kozlowski 提交于
      If devm_gpiod_get_from_of_node() call returns ERR_PTR, it is assigned
      into an array of GPIO descriptors and used later because such error is
      not treated as critical thus it is not propagated back to the probe
      function.
      
      All code later expects that such GPIO descriptor is either a NULL or
      proper value.  This later might lead to dereference of ERR_PTR.
      
      Only devices with S2MPS14 flavor are affected (other do not control
      regulators with GPIOs).
      
      Fixes: 1c984942 ("regulator: s2mps11: Pass descriptor instead of GPIO number")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      70ca117b
  3. 17 5月, 2019 1 次提交
  4. 03 5月, 2019 7 次提交
  5. 02 5月, 2019 3 次提交
  6. 26 4月, 2019 10 次提交
  7. 18 4月, 2019 7 次提交
  8. 17 4月, 2019 3 次提交
  9. 15 4月, 2019 7 次提交