commit | bf0ff87bef59fbc60b259b8843ae7fbed2cc44bd | [log] [tgz] |
---|---|---|
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | Mon Dec 03 14:55:49 2012 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Dec 03 15:29:45 2012 +0100 |
tree | 1351735f1dd88069e67149c3f3cb9929a1776253 | |
parent | b6adb57df1b7ae03094978973d55bec59c4ce098 [diff] |
ALSA: hdspm - Implement generic function to toggle settings The driver contains at least six similar functions that change only a single bit in the control register, only the bit position varies. This patch implements a generic function to toggle a certain bit position that will be used to replace the old code. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>