ALSA: hdspm - Use HDSPM_TOGGLE_SETTING to alter settings
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 3 Dec 2012 13:55:50 +0000 (14:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Dec 2012 14:29:54 +0000 (15:29 +0100)
commitc9e1668c68c623296f4aca35ffca5763665e58de
treec0e038a6cbd8430acb68bf0c7dc0695ff12f3f4e
parentbf0ff87bef59fbc60b259b8843ae7fbed2cc44bd
ALSA: hdspm - Use HDSPM_TOGGLE_SETTING to alter settings

HDSPM_TOGGLE_SETTING and its corresponding functions allow to change
settings in the control register. Instead of using the specialised
functions, use the generic code to make the code DRY.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c