summaryrefslogtreecommitdiff
path: root/proto_none.c
AgeCommit message (Expand)AuthorFilesLines
2015-10-19netsniff-ng: proto: Make raw hex/ascii print function globally availableTobias Klauser1-2/+2
2014-08-15dissectors: Include protos.h in some dissectors for protocol ops declarationTobias Klauser1-0/+1
2014-02-24dissectors: Get rid of unecessary includes of protos.hTobias Klauser1-1/+0
2013-07-13dissector: Mark unused parameters with __maybe_unusedTobias Klauser1-2/+2
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+83
href='/cgit.cgi/linux/net-next.git/patch/Documentation?id=1aaab34878ac14efede3f0e737b99447745699d1'>patch) tree3bfb7728506b912b19b84c5d5c4d4bfa5445dd3f /Documentation parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
regulator: pwm: Fix calculation of voltage-to-duty cycle
With following equation for calculating voltage_to_duty_cycle_percentage 100 - (((req_uV * 100) - (min_uV * 100)) / diff); we get 0% for max_uV and 100% for min_uV. Correcting this to ((req_uV * 100) - (min_uV * 100)) / diff; to get proper duty cycle. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')