summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/xonar_dg.h
diff options
context:
space:
mode:
authorRoman Volkov <v1ron@mail.ru>2014-01-24 16:18:17 +0400
committerClemens Ladisch <clemens@ladisch.de>2014-01-29 20:45:51 +0100
commitcf218b2ef345a26f4ae242907150035950f90cb8 (patch)
treed77dd99778d1244897de537ee698b84238c3a448 /sound/pci/oxygen/xonar_dg.h
parentc754639a29e8d00933ccd2d7ec41505d0074de8b (diff)
ALSA: oxygen: Xonar DG(X): modify capture volume functions
Modify the input_vol_* functions to use the new SPI routines, There is a new applying function that will be called when the capture source changed. 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 a5cb75121f40..a7e511026f48 100644
--- a/sound/pci/oxygen/xonar_dg.h
+++ b/sound/pci/oxygen/xonar_dg.h
@@ -28,7 +28,8 @@ struct dg {
unsigned char cs4245_shadow[17];
/* output select: headphone/speakers */
unsigned char output_sel;
- s8 input_vol[4][2];
+ /* volumes for all capture sources */
+ char input_vol[4][2];
unsigned int input_sel;
u8 hp_vol_att;
};