aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/ath3k.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-26 02:26:41 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 15:21:26 -0500
commitf509fd46c164524d06a33b01a64f9bd2033e4825 (patch)
tree1c1cecd905481b8468a936c2510f787a9ee2d234 /drivers/bluetooth/ath3k.c
parent369cf602f364a60c72b8258c21eca8793939328f (diff)
regulator: da9055: Select maximum current in specific range for set_current_limit
Selecting the minimal value is only true for voltage regulators. For current regulators the maximum in the given range should be selected instead. This issue was reported by Heiko Stuebner for gpio-regulator driver [1], and the conclusion is to select the max current for current regulators [2]. [1] https://lkml.org/lkml/2012/8/5/162 [2] https://lkml.org/lkml/2012/8/6/183 This patch also ensures da9055_buck_set_current_limit return -EINVAL when the supported current limit does not meet the request range. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/bluetooth/ath3k.c')
0 files changed, 0 insertions, 0 deletions