forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: SOF: hda: refine to support both with/without HDA links.
We uses CONFIG_SND_SOC_SOF_HDA to enable HDA links on SOF, here refine SOF HDA code to split them and make both select/unselect the config CONFIG_SND_SOC_SOF_HDA works. Signed-off-by: Keyon Jie <[email protected]>
- Loading branch information
Showing
5 changed files
with
53 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* This file is provided under a dual BSD/GPLv2 license. When using or | ||
* redistributing this file, you may do so under either license. | ||
* | ||
* Copyright(c) 2017 Intel Corporation. All rights reserved. | ||
* Copyright(c) 2018 Intel Corporation. All rights reserved. | ||
* | ||
* Authors: Jeeja KP <[email protected]> | ||
* Keyon Jie <[email protected]> | ||
|
@@ -22,7 +22,6 @@ | |
#include <sound/hda_i915.h> | ||
#include <sound/hda_register.h> | ||
#include <sound/hdaudio.h> | ||
#include <sound/hda_i915.h> | ||
|
||
#include "../../../pci/hda/hda_codec.h" | ||
#include "../../codecs/hdac_hda.h" | ||
|
@@ -112,6 +111,7 @@ int hda_codec_probe_bus(struct snd_sof_dev *sdev) | |
|
||
return 0; | ||
} | ||
EXPORT_SYMBOL(hda_codec_probe_bus); | ||
|
||
int hda_codec_i915_init(struct snd_sof_dev *sdev) | ||
{ | ||
|
@@ -129,4 +129,7 @@ int hda_codec_i915_init(struct snd_sof_dev *sdev) | |
|
||
return ret; | ||
} | ||
EXPORT_SYMBOL(hda_codec_i915_init); | ||
|
||
MODULE_LICENSE("Dual BSD/GPL"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters