]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd7aea24ee26610c44e2f343f7b248e16368af15
treec0e038a6cbd8430acb68bf0c7dc0695ff12f3f4e
parent456f4b37716e49278afe9236dc0240513419574a
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