ALSA: hdsp - Implement generic function to toggle settings
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Tue, 15 Jan 2013 17:52:21 +0000 (18:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Jan 2013 06:48:51 +0000 (07:48 +0100)
The driver contains multiple 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>
sound/pci/rme9652/hdsp.c

Simple merge