Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
18e63b35
Unverified
Commit
18e63b35
authored
7 years ago
by
Mark Brown
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
3c4cb8b2
845ab400
Changes
4
Hide 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 @
18e63b35
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
include/sound/soc-acpi.h
View file @
18e63b35
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
sound/soc/intel/skylake/skl-nhlt.c
View file @
18e63b35
...
...
@@ -43,7 +43,8 @@ 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
;
nhlt_table
=
(
struct
nhlt_acpi_table
*
)
if
(
nhlt_ptr
->
length
)
nhlt_table
=
(
struct
nhlt_acpi_table
*
)
memremap
(
nhlt_ptr
->
min_addr
,
nhlt_ptr
->
length
,
MEMREMAP_WB
);
ACPI_FREE
(
obj
);
...
...
This diff is collapsed.
Click to expand it.
sound/soc/soc-acpi.c
View file @
18e63b35
...
...
@@ -84,11 +84,9 @@ 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
)
return
mach
;
if
(
mach
->
machine_quirk
)
mach
=
mach
->
machine_quirk
(
mach
);
return
mach
;
}
}
return
NULL
;
...
...
This diff is collapsed.
Click to expand it.
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