ALSA: hdspm - Implement generic function to toggle settings
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 3 Dec 2012 13:55:49 +0000 (14:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Dec 2012 14:29:45 +0000 (15:29 +0100)
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>

No differences found