]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7eeacb79d1c853143a60f5b17ed3cc20acc1962f
tree7adc0b8d35e8d574741d3b9c19fbcaf6960d4477
parent802ffc0e96bafa249d33730fae88d0ba9af719a8
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