Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
dc427170
Commit
dc427170
authored
Nov 29, 2010
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Remove dead md2 quirk code
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
ca19e77e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
41 deletions
+2
-41
Documentation/sound/alsa/HD-Audio-Models.txt
Documentation/sound/alsa/HD-Audio-Models.txt
+0
-1
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+2
-40
No files found.
Documentation/sound/alsa/HD-Audio-Models.txt
View file @
dc427170
...
...
@@ -149,7 +149,6 @@ ALC882/883/885/888/889
acer-aspire-7730g Acer Aspire 7730G
acer-aspire-8930g Acer Aspire 8930G
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targa/MSI with 2-channel
targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
...
...
sound/pci/hda/patch_realtek.c
View file @
dc427170
...
...
@@ -231,7 +231,6 @@ enum {
ALC888_ACER_ASPIRE_8930G
,
ALC888_ACER_ASPIRE_7730G
,
ALC883_MEDION
,
ALC883_MEDION_MD2
,
ALC883_MEDION_WIM2160
,
ALC883_LAPTOP_EAPD
,
ALC883_LENOVO_101E_2ch
,
...
...
@@ -8989,19 +8988,6 @@ static struct snd_kcontrol_new alc883_lenovo_nb0763_mixer[] = {
{
}
/* end */
};
static
struct
snd_kcontrol_new
alc883_medion_md2_mixer
[]
=
{
HDA_CODEC_VOLUME
(
"Front Playback Volume"
,
0x0c
,
0x0
,
HDA_OUTPUT
),
HDA_CODEC_MUTE
(
"Headphone Playback Switch"
,
0x14
,
0x0
,
HDA_OUTPUT
),
HDA_CODEC_MUTE
(
"Front Playback Switch"
,
0x15
,
0x0
,
HDA_OUTPUT
),
HDA_CODEC_VOLUME
(
"CD Playback Volume"
,
0x0b
,
0x04
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"CD Playback Switch"
,
0x0b
,
0x04
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"Mic Playback Volume"
,
0x0b
,
0x0
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Mic Playback Switch"
,
0x0b
,
0x0
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"Line Playback Volume"
,
0x0b
,
0x02
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Line Playback Switch"
,
0x0b
,
0x02
,
HDA_INPUT
),
{
}
/* end */
};
static
struct
snd_kcontrol_new
alc883_medion_wim2160_mixer
[]
=
{
HDA_CODEC_VOLUME
(
"Front Playback Volume"
,
0x0c
,
0x0
,
HDA_OUTPUT
),
HDA_BIND_MUTE
(
"Front Playback Switch"
,
0x0c
,
2
,
HDA_INPUT
),
...
...
@@ -9443,18 +9429,8 @@ static void alc883_lenovo_ms7195_unsol_event(struct hda_codec *codec,
alc888_lenovo_ms7195_rca_automute
(
codec
);
}
static
struct
hda_verb
alc883_medion_md2_verbs
[]
=
{
{
0x0c
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_UNMUTE
(
0
)},
{
0x0c
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_UNMUTE
(
1
)},
{
0x14
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_HP
},
{
0x14
,
AC_VERB_SET_UNSOLICITED_ENABLE
,
ALC880_HP_EVENT
|
AC_USRSP_EN
},
{
}
/* end */
};
/* toggle speaker-output according to the hp-jack state */
static
void
alc883_
medion_md2
_setup
(
struct
hda_codec
*
codec
)
static
void
alc883_
lenovo_nb0763
_setup
(
struct
hda_codec
*
codec
)
{
struct
alc_spec
*
spec
=
codec
->
spec
;
...
...
@@ -9739,7 +9715,6 @@ static const char *alc882_models[ALC882_MODEL_LAST] = {
[
ALC888_ACER_ASPIRE_8930G
]
=
"acer-aspire-8930g"
,
[
ALC888_ACER_ASPIRE_7730G
]
=
"acer-aspire-7730g"
,
[
ALC883_MEDION
]
=
"medion"
,
[
ALC883_MEDION_MD2
]
=
"medion-md2"
,
[
ALC883_MEDION_WIM2160
]
=
"medion-wim2160"
,
[
ALC883_LAPTOP_EAPD
]
=
"laptop-eapd"
,
[
ALC883_LENOVO_101E_2ch
]
=
"lenovo-101e"
,
...
...
@@ -10387,19 +10362,6 @@ static struct alc_config_preset alc882_presets[] = {
.
channel_mode
=
alc883_sixstack_modes
,
.
input_mux
=
&
alc883_capture_source
,
},
[
ALC883_MEDION_MD2
]
=
{
.
mixers
=
{
alc883_medion_md2_mixer
},
.
init_verbs
=
{
alc883_init_verbs
,
alc883_medion_md2_verbs
},
.
num_dacs
=
ARRAY_SIZE
(
alc883_dac_nids
),
.
dac_nids
=
alc883_dac_nids
,
.
dig_out_nid
=
ALC883_DIGOUT_NID
,
.
num_channel_mode
=
ARRAY_SIZE
(
alc883_3ST_2ch_modes
),
.
channel_mode
=
alc883_3ST_2ch_modes
,
.
input_mux
=
&
alc883_capture_source
,
.
unsol_event
=
alc_automute_amp_unsol_event
,
.
setup
=
alc883_medion_md2_setup
,
.
init_hook
=
alc_automute_amp
,
},
[
ALC883_MEDION_WIM2160
]
=
{
.
mixers
=
{
alc883_medion_wim2160_mixer
},
.
init_verbs
=
{
alc883_init_verbs
,
alc883_medion_wim2160_verbs
},
...
...
@@ -10476,7 +10438,7 @@ static struct alc_config_preset alc882_presets[] = {
.
need_dac_fix
=
1
,
.
input_mux
=
&
alc883_lenovo_nb0763_capture_source
,
.
unsol_event
=
alc_automute_amp_unsol_event
,
.
setup
=
alc883_
medion_md2
_setup
,
.
setup
=
alc883_
lenovo_nb0763
_setup
,
.
init_hook
=
alc_automute_amp
,
},
[
ALC888_LENOVO_MS7195_DIG
]
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment