summaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/xonar_dg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/xonar_dg.h')
-rw-r--r--sound/pci/oxygen/xonar_dg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/oxygen/xonar_dg.h b/sound/pci/oxygen/xonar_dg.h
index 081269224850..f2fa846d7246 100644
--- a/sound/pci/oxygen/xonar_dg.h
+++ b/sound/pci/oxygen/xonar_dg.h
@@ -18,7 +18,14 @@
#define PLAYBACK_DST_HP_FP 1
#define PLAYBACK_DST_MULTICH 2
+enum cs4245_shadow_operation {
+ CS4245_SAVE_TO_SHADOW,
+ CS4245_LOAD_FROM_SHADOW
+};
+
struct dg {
+ /* shadow copy of the CS4245 register space */
+ unsigned char cs4245_shadow[17];
unsigned int output_sel;
s8 input_vol[4][2];
unsigned int input_sel;