diff options
Diffstat (limited to 'sound/pcmcia/vx')
-rw-r--r-- | sound/pcmcia/vx/vxpocket.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index 76c85cffb40e..3089fcca800e 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <pcmcia/ciscode.h> | 27 | #include <pcmcia/ciscode.h> |
28 | #include <pcmcia/cisreg.h> | 28 | #include <pcmcia/cisreg.h> |
29 | #include <sound/initval.h> | 29 | #include <sound/initval.h> |
30 | #include <sound/tlv.h> | ||
30 | 31 | ||
31 | /* | 32 | /* |
32 | */ | 33 | */ |
@@ -90,6 +91,8 @@ static int snd_vxpocket_dev_free(struct snd_device *device) | |||
90 | * Only output levels can be modified | 91 | * Only output levels can be modified |
91 | */ | 92 | */ |
92 | 93 | ||
94 | static DECLARE_TLV_DB_SCALE(db_scale_old_vol, -11350, 50, 0); | ||
95 | |||
93 | static struct snd_vx_hardware vxpocket_hw = { | 96 | static struct snd_vx_hardware vxpocket_hw = { |
94 | .name = "VXPocket", | 97 | .name = "VXPocket", |
95 | .type = VX_TYPE_VXPOCKET, | 98 | .type = VX_TYPE_VXPOCKET, |
@@ -99,6 +102,7 @@ static struct snd_vx_hardware vxpocket_hw = { | |||
99 | .num_ins = 1, | 102 | .num_ins = 1, |
100 | .num_outs = 1, | 103 | .num_outs = 1, |
101 | .output_level_max = VX_ANALOG_OUT_LEVEL_MAX, | 104 | .output_level_max = VX_ANALOG_OUT_LEVEL_MAX, |
105 | .output_level_db_scale = db_scale_old_vol, | ||
102 | }; | 106 | }; |
103 | 107 | ||
104 | /* VX-pocket 440 | 108 | /* VX-pocket 440 |
@@ -120,6 +124,7 @@ static struct snd_vx_hardware vxp440_hw = { | |||
120 | .num_ins = 2, | 124 | .num_ins = 2, |
121 | .num_outs = 2, | 125 | .num_outs = 2, |
122 | .output_level_max = VX_ANALOG_OUT_LEVEL_MAX, | 126 | .output_level_max = VX_ANALOG_OUT_LEVEL_MAX, |
127 | .output_level_db_scale = db_scale_old_vol, | ||
123 | }; | 128 | }; |
124 | 129 | ||
125 | 130 | ||