Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
05e870d2
Commit
05e870d2
authored
Jul 19, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into topic/hda
parents
3f3b7c1a
2e9bf247
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.c
+6
-0
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+6
-0
No files found.
sound/pci/hda/hda_codec.c
View file @
05e870d2
...
...
@@ -347,6 +347,12 @@ int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid,
}
range_val
=
!!
(
parm
&
(
1
<<
(
shift
-
1
)));
/* ranges */
val
=
parm
&
mask
;
if
(
val
==
0
)
{
snd_printk
(
KERN_WARNING
"hda_codec: "
"invalid CONNECT_LIST verb %x[%i]:%x
\n
"
,
nid
,
i
,
parm
);
return
0
;
}
parm
>>=
shift
;
if
(
range_val
)
{
/* ranges between the previous and this one */
...
...
sound/pci/hda/patch_realtek.c
View file @
05e870d2
...
...
@@ -4501,6 +4501,12 @@ static int alc880_parse_auto_config(struct hda_codec *codec)
&
dig_nid
,
1
);
if
(
err
<
0
)
continue
;
if
(
dig_nid
>
0x7f
)
{
printk
(
KERN_ERR
"alc880_auto: invalid dig_nid "
"connection 0x%x for NID 0x%x
\n
"
,
dig_nid
,
spec
->
autocfg
.
dig_out_pins
[
i
]);
continue
;
}
if
(
!
i
)
spec
->
multiout
.
dig_out_nid
=
dig_nid
;
else
{
...
...
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