summaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/xonar_dg.h
diff options
context:
space:
mode:
authorRoman Volkov <v1ron@mail.ru>2014-01-24 16:18:18 +0400
committerClemens Ladisch <clemens@ladisch.de>2014-01-29 20:45:51 +0100
commit70e0d82d5e5d65e96f56ced3de97221fdf62cf38 (patch)
tree93b2a02a266c7a6bbda0c3ab2412af44a8d5002c /sound/pci/oxygen/xonar_dg.h
parentcf218b2ef345a26f4ae242907150035950f90cb8 (diff)
ALSA: oxygen: Xonar DG(X): modify input select functions
First of all, we should not touch the GPIOs. They are not for selecting the capture source, but they seems just enable the whole audio input curcuit. The 'put' function calls the 'apply' functions to change register values. Change the order of capture sources. Signed-off-by: Roman Volkov <v1ron@mail.ru> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/oxygen/xonar_dg.h')
-rw-r--r--sound/pci/oxygen/xonar_dg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/xonar_dg.h b/sound/pci/oxygen/xonar_dg.h
index a7e511026f4..d900323f73d 100644
--- a/sound/pci/oxygen/xonar_dg.h
+++ b/sound/pci/oxygen/xonar_dg.h
@@ -30,7 +30,8 @@ struct dg {
unsigned char output_sel;
/* volumes for all capture sources */
char input_vol[4][2];
- unsigned int input_sel;
+ /* input select: mic/fp mic/line/aux */
+ unsigned char input_sel;
u8 hp_vol_att;
};