Add 'qcom/opensource/audio-kernel/' from commit '0ee387dfadf349618494d6f82ec8cec796ebef70'
git-subtree-dir: qcom/opensource/audio-kernel git-subtree-mainline:99ab089c55
git-subtree-split:0ee387dfad
Change-Id: repo: https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/audio-kernel-ar tag: AUDIO.LA.9.0.r1-07400-lanai.0
This commit is contained in:
28
qcom/opensource/audio-kernel/asoc/codecs/wcd9xxx-soc-init.c
Normal file
28
qcom/opensource/audio-kernel/asoc/codecs/wcd9xxx-soc-init.c
Normal file
@@ -0,0 +1,28 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017, 2021 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include "audio-ext-clk-up.h"
|
||||
|
||||
static int __init wcd9xxx_soc_init(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
ret = audio_ref_clk_platform_init();
|
||||
if (ret)
|
||||
pr_err("%s: init extclk fail: %d\n", __func__, ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
module_init(wcd9xxx_soc_init);
|
||||
|
||||
static void __exit wcd9xxx_soc_exit(void)
|
||||
{
|
||||
audio_ref_clk_platform_exit();
|
||||
}
|
||||
module_exit(wcd9xxx_soc_exit);
|
||||
|
||||
MODULE_DESCRIPTION("WCD9XXX CODEC soc init driver");
|
||||
MODULE_LICENSE("GPL v2");
|
Reference in New Issue
Block a user