ALSA: virtuoso: create common functions for GPIO bit switch controls
commitc3f00739c5e45b4bf6f759172a5318256b92f2b2
authorClemens Ladisch <clemens@ladisch.de>
Mon, 22 Sep 2008 07:01:11 +0000 (22 09:01 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 22 Sep 2008 07:01:11 +0000 (22 09:01 +0200)
tree0ad1987783d637d13daa8731b634217f6be4ea3e
parentfe10662c3c7e1a77cac7949a4b269622da663c2e
ALSA: virtuoso: create common functions for GPIO bit switch controls

Factor out the common code of the mixer callbacks that handle controls
that just switch a single GPIO bit.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/pci/oxygen/virtuoso.c