summaryrefslogtreecommitdiff
path: root/sound/hda/trace.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-07-07 16:06:52 +0100
committerMark Brown <broonie@kernel.org>2015-07-07 18:58:28 +0100
commitcae897dec26a9d81dcb5182b13b08450f38d6bde (patch)
tree2b60310636df499b0380f1aeb1004e3323d4670f /sound/hda/trace.h
parent4773be185a0f7c1c09d8966e100c76f4fa9a3227 (diff)
regulator: pwm-regulator: Simplify voltage to duty-cycle call
If we reverse some of the logic and change the formula used, we can simplify the function greatly. It is intentional that this function is supplied and then re-worked within the same patch-set. The submission in the previous patch is the tried and tested (i.e. in real releases) method written by ST. This patch contains a simplification provided later. It looks and performs better, but doesn't have the same time-under-test that the original method does. The idea is that we keep some history in order to provide an easy way back i.e. revert. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/hda/trace.h')
0 files changed, 0 insertions, 0 deletions