1. 25 2月, 2014 1 次提交
    • M
      regulator: core: Replace direct ops->enable usage · 30c21971
      Markus Pargmann 提交于
      There are some direct ops->enable in the regulator core driver. This is
      a potential issue as the function _regulator_do_enable() handles gpio
      regulators and the normal ops->enable calls. These gpio regulators are
      simply ignored when ops->enable is called directly.
      
      One possible bug is that boot-on and always-on gpio regulators are not
      enabled on registration.
      
      This patch replaces all ops->enable calls by _regulator_do_enable.
      
      [Handle missing enable operations -- broonie]
      
      Cc: <stable@vger.kernel.org> # 3.10+
      Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      
      regulator: Handle invalid enable operation for always/boot on regulators
      Signed-off-by: NMark Brown <broonie@linaro.org>
      30c21971
  2. 21 2月, 2014 1 次提交
  3. 09 1月, 2014 1 次提交
  4. 18 12月, 2013 1 次提交
  5. 28 11月, 2013 2 次提交
  6. 13 11月, 2013 1 次提交
  7. 18 10月, 2013 1 次提交
  8. 04 10月, 2013 1 次提交
  9. 30 9月, 2013 1 次提交
  10. 24 9月, 2013 1 次提交
  11. 23 9月, 2013 1 次提交
  12. 21 9月, 2013 1 次提交
  13. 20 9月, 2013 1 次提交
  14. 19 9月, 2013 1 次提交
  15. 17 9月, 2013 6 次提交
  16. 11 9月, 2013 1 次提交
  17. 30 8月, 2013 1 次提交
  18. 19 8月, 2013 1 次提交
  19. 09 8月, 2013 1 次提交
  20. 07 8月, 2013 1 次提交
  21. 31 7月, 2013 1 次提交
    • M
      regulator: core: Provide hints to the core about optional supplies · de1dd9fd
      Mark Brown 提交于
      While the majority of supplies on devices are mandatory and can't be
      physically omitted for electrical reasons some devices do have optional
      supplies and need to know if they are missing, MMC being the most common
      of these.
      
      Currently the core accurately reports all errors when regulators are
      requested since it does not know if the supply is one that must be provided
      even if by a regulator software does not know about or if it is one that
      may genuinely be disconnected. In order to allow this behaviour to be
      changed and stub regulators to be provided in the former case add a new
      regulator request function regulator_get_optional() which provides a hint
      to the core that the regulator may genuinely not be connected.
      
      Currently the implementation is identical to the current behaviour, future
      patches will add support in the core for returning stub regulators in the
      case where normal regulator_get() fails and the board has requested it.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Acked-by: NChris Ball <cjb@laptop.org>
      de1dd9fd
  22. 25 7月, 2013 1 次提交
  23. 18 7月, 2013 3 次提交
  24. 15 7月, 2013 4 次提交
  25. 07 6月, 2013 1 次提交
  26. 21 5月, 2013 1 次提交
  27. 02 5月, 2013 1 次提交
  28. 18 4月, 2013 1 次提交
  29. 17 4月, 2013 1 次提交