ALSA: hdsp - Use HDSP_TOGGLE_SETTING to alter settings
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Tue, 15 Jan 2013 17:52:22 +0000 (18:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Jan 2013 06:49:06 +0000 (07:49 +0100)
commit4833c673dee69ac352cd03cc97823a210c5cffcb
tree7adc0b8d35e8d574741d3b9c19fbcaf6960d4477
parent66d9244ec72392c1cc906a41545e6669a97a2c8e
ALSA: hdsp - Use HDSP_TOGGLE_SETTING to alter settings

HDSP_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/hdsp.c