diff options
Diffstat (limited to 'sound/pci/oxygen/hifier.c')
-rw-r--r-- | sound/pci/oxygen/hifier.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/pci/oxygen/hifier.c b/sound/pci/oxygen/hifier.c index 84ef13183419..9026a143a5ec 100644 --- a/sound/pci/oxygen/hifier.c +++ b/sound/pci/oxygen/hifier.c | |||
@@ -141,19 +141,11 @@ static void set_cs5340_params(struct oxygen *chip, | |||
141 | 141 | ||
142 | static const DECLARE_TLV_DB_LINEAR(ak4396_db_scale, TLV_DB_GAIN_MUTE, 0); | 142 | static const DECLARE_TLV_DB_LINEAR(ak4396_db_scale, TLV_DB_GAIN_MUTE, 0); |
143 | 143 | ||
144 | static int hifier_control_filter(struct snd_kcontrol_new *template) | ||
145 | { | ||
146 | if (!strcmp(template->name, "Stereo Upmixing")) | ||
147 | return 1; /* stereo only - we don't need upmixing */ | ||
148 | return 0; | ||
149 | } | ||
150 | |||
151 | static const struct oxygen_model model_hifier = { | 144 | static const struct oxygen_model model_hifier = { |
152 | .shortname = "C-Media CMI8787", | 145 | .shortname = "C-Media CMI8787", |
153 | .longname = "C-Media Oxygen HD Audio", | 146 | .longname = "C-Media Oxygen HD Audio", |
154 | .chip = "CMI8788", | 147 | .chip = "CMI8788", |
155 | .init = hifier_init, | 148 | .init = hifier_init, |
156 | .control_filter = hifier_control_filter, | ||
157 | .cleanup = hifier_cleanup, | 149 | .cleanup = hifier_cleanup, |
158 | .resume = hifier_resume, | 150 | .resume = hifier_resume, |
159 | .set_dac_params = set_ak4396_params, | 151 | .set_dac_params = set_ak4396_params, |