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
Kconfig -rw-r--r-- 458 bytes
Makefile -rw-r--r-- 128 bytes
harmony.c -rw-r--r-- 25.3 KB
harmony.h -rw-r--r-- 4.8 KB

back to top