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
5b139ebe
Commit
5b139ebe
authored
Jan 12, 2018
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
b2cd1df6
845ab400
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
include/sound/soc-acpi-intel-match.h
include/sound/soc-acpi-intel-match.h
+1
-0
include/sound/soc-acpi.h
include/sound/soc-acpi.h
+1
-0
sound/soc/intel/skylake/skl-nhlt.c
sound/soc/intel/skylake/skl-nhlt.c
+2
-1
sound/soc/soc-acpi.c
sound/soc/soc-acpi.c
+3
-5
No files found.
include/sound/soc-acpi-intel-match.h
View file @
5b139ebe
...
...
@@ -16,6 +16,7 @@
#ifndef __LINUX_SND_SOC_ACPI_INTEL_MATCH_H
#define __LINUX_SND_SOC_ACPI_INTEL_MATCH_H
#include <linux/module.h>
#include <linux/stddef.h>
#include <linux/acpi.h>
...
...
include/sound/soc-acpi.h
View file @
5b139ebe
...
...
@@ -17,6 +17,7 @@
#include <linux/stddef.h>
#include <linux/acpi.h>
#include <linux/mod_devicetable.h>
struct
snd_soc_acpi_package_context
{
char
*
name
;
/* package name */
...
...
sound/soc/intel/skylake/skl-nhlt.c
View file @
5b139ebe
...
...
@@ -43,6 +43,7 @@ struct nhlt_acpi_table *skl_nhlt_init(struct device *dev)
obj
=
acpi_evaluate_dsm
(
handle
,
&
osc_guid
,
1
,
1
,
NULL
);
if
(
obj
&&
obj
->
type
==
ACPI_TYPE_BUFFER
)
{
nhlt_ptr
=
(
struct
nhlt_resource_desc
*
)
obj
->
buffer
.
pointer
;
if
(
nhlt_ptr
->
length
)
nhlt_table
=
(
struct
nhlt_acpi_table
*
)
memremap
(
nhlt_ptr
->
min_addr
,
nhlt_ptr
->
length
,
MEMREMAP_WB
);
...
...
sound/soc/soc-acpi.c
View file @
5b139ebe
...
...
@@ -84,10 +84,8 @@ snd_soc_acpi_find_machine(struct snd_soc_acpi_mach *machines)
for
(
mach
=
machines
;
mach
->
id
[
0
];
mach
++
)
{
if
(
snd_soc_acpi_check_hid
(
mach
->
id
)
==
true
)
{
if
(
mach
->
machine_quirk
==
NULL
)
return
mach
;
if
(
mach
->
machine_quirk
(
mach
)
!=
NULL
)
if
(
mach
->
machine_quirk
)
mach
=
mach
->
machine_quirk
(
mach
);
return
mach
;
}
}
...
...
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