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
6fire
caiaq
misc
usx2y
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 521 bytes
card.c -rw-r--r-- 19.3 KB
card.h -rw-r--r-- 4.8 KB
clock.c -rw-r--r-- 9.0 KB
clock.h -rw-r--r-- 316 bytes
debug.h -rw-r--r-- 262 bytes
endpoint.c -rw-r--r-- 25.9 KB
endpoint.h -rw-r--r-- 711 bytes
format.c -rw-r--r-- 14.6 KB
format.h -rw-r--r-- 317 bytes
helper.c -rw-r--r-- 2.8 KB
helper.h -rw-r--r-- 1.1 KB
midi.c -rw-r--r-- 62.6 KB
midi.h -rw-r--r-- 1.5 KB
mixer.c -rw-r--r-- 61.6 KB
mixer.h -rw-r--r-- 1.8 KB
mixer_maps.c -rw-r--r-- 11.8 KB
mixer_quirks.c -rw-r--r-- 18.0 KB
mixer_quirks.h -rw-r--r-- 367 bytes
pcm.c -rw-r--r-- 25.8 KB
pcm.h -rw-r--r-- 379 bytes
power.h -rw-r--r-- 375 bytes
proc.c -rw-r--r-- 6.0 KB
proc.h -rw-r--r-- 211 bytes
quirks-table.h -rw-r--r-- 64.6 KB
quirks.c -rw-r--r-- 22.3 KB
quirks.h -rw-r--r-- 682 bytes
stream.c -rw-r--r-- 12.9 KB
stream.h -rw-r--r-- 286 bytes
usbaudio.h -rw-r--r-- 2.9 KB

back to top