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
82b1d73f
Commit
82b1d73f
authored
Dec 20, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Fix left-over merge issues in patch_hdmi.c
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
78c058df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
sound/pci/hda/patch_hdmi.c
sound/pci/hda/patch_hdmi.c
+1
-3
No files found.
sound/pci/hda/patch_hdmi.c
View file @
82b1d73f
...
@@ -805,7 +805,6 @@ static void hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res)
...
@@ -805,7 +805,6 @@ static void hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res)
static
void
hdmi_unsol_event
(
struct
hda_codec
*
codec
,
unsigned
int
res
)
static
void
hdmi_unsol_event
(
struct
hda_codec
*
codec
,
unsigned
int
res
)
{
{
struct
hdmi_spec
*
spec
=
codec
->
spec
;
int
tag
=
res
>>
AC_UNSOL_RES_TAG_SHIFT
;
int
tag
=
res
>>
AC_UNSOL_RES_TAG_SHIFT
;
int
subtag
=
(
res
&
AC_UNSOL_RES_SUBTAG
)
>>
AC_UNSOL_RES_SUBTAG_SHIFT
;
int
subtag
=
(
res
&
AC_UNSOL_RES_SUBTAG
)
>>
AC_UNSOL_RES_SUBTAG_SHIFT
;
...
@@ -1242,7 +1241,6 @@ static int generic_hdmi_build_jack(struct hda_codec *codec, int pin_idx)
...
@@ -1242,7 +1241,6 @@ static int generic_hdmi_build_jack(struct hda_codec *codec, int pin_idx)
if
(
pcmdev
>
0
)
if
(
pcmdev
>
0
)
sprintf
(
hdmi_str
+
strlen
(
hdmi_str
),
",pcm=%d"
,
pcmdev
);
sprintf
(
hdmi_str
+
strlen
(
hdmi_str
),
",pcm=%d"
,
pcmdev
);
hdmi_present_sense
(
per_pin
,
0
);
return
snd_hda_jack_add_kctl
(
codec
,
per_pin
->
pin_nid
,
hdmi_str
,
0
);
return
snd_hda_jack_add_kctl
(
codec
,
per_pin
->
pin_nid
,
hdmi_str
,
0
);
}
}
...
@@ -1274,7 +1272,7 @@ static int generic_hdmi_build_controls(struct hda_codec *codec)
...
@@ -1274,7 +1272,7 @@ static int generic_hdmi_build_controls(struct hda_codec *codec)
if
(
err
<
0
)
if
(
err
<
0
)
return
err
;
return
err
;
hdmi_present_sense
(
per_pin
,
false
);
hdmi_present_sense
(
per_pin
,
0
);
}
}
return
0
;
return
0
;
...
...
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