1. 11 9月, 2019 2 次提交
  2. 10 9月, 2019 4 次提交
  3. 09 9月, 2019 4 次提交
  4. 06 9月, 2019 1 次提交
  5. 04 9月, 2019 1 次提交
    • M
      regulator: Defer init completion for a while after late_initcall · 55576cf1
      Mark Brown 提交于
      The kernel has no way of knowing when we have finished instantiating
      drivers, between deferred probe and systems that build key drivers as
      modules we might be doing this long after userspace has booted. This has
      always been a bit of an issue with regulator_init_complete since it can
      power off hardware that's not had it's driver loaded which can result in
      user visible effects, the main case is powering off displays. Practically
      speaking it's not been an issue in real systems since most systems that
      use the regulator API are embedded and build in key drivers anyway but
      with Arm laptops coming on the market it's becoming more of an issue so
      let's do something about it.
      
      In the absence of any better idea just defer the powering off for 30s
      after late_initcall(), this is obviously a hack but it should mask the
      issue for now and it's no more arbitrary than late_initcall() itself.
      Ideally we'd have some heuristics to detect if we're on an affected
      system and tune or skip the delay appropriately, and there may be some
      need for a command line option to be added.
      
      Link: https://lore.kernel.org/r/20190904124250.25844-1-broonie@kernel.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      Tested-by: NLee Jones <lee.jones@linaro.org>
      Cc: stable@vger.kernel.org
      55576cf1
  6. 03 9月, 2019 1 次提交
  7. 02 9月, 2019 1 次提交
  8. 30 8月, 2019 4 次提交
  9. 28 8月, 2019 10 次提交
  10. 16 8月, 2019 3 次提交
  11. 15 8月, 2019 2 次提交
    • C
      regulator: max8660: remove redundant assignment of variable ret · 9e127fab
      Colin Ian King 提交于
      Variable ret is initialized to a value that is never read before
      a return statement and hence can be removed. Remove it.
      
      Addresses-Coverity: ("Unused value")
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Link: https://lore.kernel.org/r/20190813133114.14931-1-colin.king@canonical.comSigned-off-by: NMark Brown <broonie@kernel.org>
      9e127fab
    • A
      regulator: twl: voltage lists for vdd1/2 on twl4030 · 3829100a
      Andreas Kemnade 提交于
      _opp_supported_by_regulators() wrongly ignored errors from
      regulator_is_supported_voltage(), so it considered errors as
      success. Since
      commit 49820944 ("regulator: core: simplify return value on suported_voltage")
      regulator_is_supported_voltage() returns a real boolean, so
      errors make _opp_supported_by_regulators() return false.
      
      That reveals a problem with the declaration of the VDD1/2
      regulators on twl4030.
      The VDD1/VDD2 regulators on twl4030 are neither defined with
      voltage lists nor with the continuous flag set, so
      regulator_is_supported_voltage() returns false and an error
      before above mentioned commit (which was considered success)
      The result is that after the above mentioned commit cpufreq
      does not work properly e.g. dm3730.
      
      [    2.490997] core: _opp_supported_by_regulators: OPP minuV: 1012500 maxuV: 1012500, not supported by regulator
      [    2.501617] cpu cpu0: _opp_add: OPP not supported by regulators (300000000)
      [    2.509246] core: _opp_supported_by_regulators: OPP minuV: 1200000 maxuV: 1200000, not supported by regulator
      [    2.519775] cpu cpu0: _opp_add: OPP not supported by regulators (600000000)
      [    2.527313] core: _opp_supported_by_regulators: OPP minuV: 1325000 maxuV: 1325000, not supported by regulator
      [    2.537750] cpu cpu0: _opp_add: OPP not supported by regulators (800000000)
      
      The patch fixes declaration of VDD1/2 regulators by
      adding proper voltage lists.
      
      Fixes: 49820944 ("regulator: core: simplify return value on suported_voltage")
      Cc: stable@vger.kernel.org
      Signed-off-by: NAndreas Kemnade <andreas@kemnade.info>
      Tested-by: Adam Ford <aford173@gmail.com> #logicpd-torpedo-37xx-devkit
      Link: https://lore.kernel.org/r/20190814214319.24087-1-andreas@kemnade.infoSigned-off-by: NMark Brown <broonie@kernel.org>
      3829100a
  12. 13 8月, 2019 1 次提交
  13. 10 8月, 2019 3 次提交
  14. 09 8月, 2019 3 次提交