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)
commit66d9244ec72392c1cc906a41545e6669a97a2c8e
tree34aaf81c868dbc53cd83cd97bfbafdcd788c2669
parent0c2bc7c7d8306bad0ec534852f1900140b80c956
ALSA: hdsp - Implement generic function to toggle settings

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
This page took 0.02448 seconds and 5 git commands to generate.