Revision 5c4b2aa3fd1dc30af098de5dec766a817621ace2 authored by Axel Lin on 22 November 2011, 06:47:44 UTC, committed by Mark Brown on 22 November 2011, 13:06:21 UTC
In the case of ((max9877_regs[reg] >> shift) & mask) != val
but ((max9877_regs[reg2] >> shift) & mask) == val2,
current code does not update the registers.

Fix the logic to update registers if either val or val2 is changed.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 72531c9
History
File Mode Size
Makefile -rw-r--r-- 8.1 KB
asciidoc.conf -rw-r--r-- 2.2 KB
examples.txt -rw-r--r-- 8.1 KB
manpage-1.72.xsl -rw-r--r-- 510 bytes
manpage-base.xsl -rw-r--r-- 1.2 KB
manpage-bold-literal.xsl -rw-r--r-- 578 bytes
manpage-normal.xsl -rw-r--r-- 475 bytes
manpage-suppress-sp.xsl -rw-r--r-- 737 bytes
perf-annotate.txt -rw-r--r-- 2.0 KB
perf-archive.txt -rw-r--r-- 480 bytes
perf-bench.txt -rw-r--r-- 2.4 KB
perf-buildid-cache.txt -rw-r--r-- 647 bytes
perf-buildid-list.txt -rw-r--r-- 808 bytes
perf-diff.txt -rw-r--r-- 1.4 KB
perf-evlist.txt -rw-r--r-- 413 bytes
perf-help.txt -rw-r--r-- 928 bytes
perf-inject.txt -rw-r--r-- 847 bytes
perf-kmem.txt -rw-r--r-- 770 bytes
perf-kvm.txt -rw-r--r-- 2.6 KB
perf-list.txt -rw-r--r-- 3.2 KB
perf-lock.txt -rw-r--r-- 923 bytes
perf-probe.txt -rw-r--r-- 6.7 KB
perf-record.txt -rw-r--r-- 3.6 KB
perf-report.txt -rw-r--r-- 3.7 KB
perf-sched.txt -rw-r--r-- 1.5 KB
perf-script-perl.txt -rw-r--r-- 7.2 KB
perf-script-python.txt -rw-r--r-- 22.9 KB
perf-script.txt -rw-r--r-- 6.9 KB
perf-stat.txt -rw-r--r-- 3.5 KB
perf-test.txt -rw-r--r-- 344 bytes
perf-timechart.txt -rw-r--r-- 988 bytes
perf-top.txt -rw-r--r-- 3.6 KB
perf.txt -rw-r--r-- 565 bytes
perfconfig.example -rw-r--r-- 322 bytes

back to top