mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
asoc: adding machine driver for sa6155
add separate machine driver for sa6155 and necessary interface changes. Change-Id: Ie9e498c3e3ccb99af01458f7604f822a11c54e67 Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
This commit is contained in:
parent
da4b9b30ca
commit
02bee73b77
4 changed files with 7139 additions and 7 deletions
|
|
@ -86,7 +86,7 @@ endif
|
|||
# for SM6150 sound card driver
|
||||
ifdef CONFIG_SND_SOC_SM6150
|
||||
MACHINE_OBJS += sm6150.o
|
||||
MACHINE_OBJS += sa8155.o
|
||||
MACHINE_OBJS += sa6155.o
|
||||
MACHINE_OBJS += machine_615x_init.o
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
|
@ -19,14 +19,14 @@
|
|||
static int __init audio_machine_615x_init(void)
|
||||
{
|
||||
sm6150_init();
|
||||
sa8155_init();
|
||||
sa6155_init();
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void audio_machine_615x_exit(void)
|
||||
{
|
||||
sm6150_exit();
|
||||
sa8155_exit();
|
||||
sa6155_exit();
|
||||
}
|
||||
|
||||
module_init(audio_machine_615x_init);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
|
@ -15,9 +15,9 @@
|
|||
#ifndef __MACHINE_615X_INIT_H__
|
||||
#define __MACHINE_615X_INIT_H__
|
||||
int sm6150_init(void);
|
||||
int sa8155_init(void);
|
||||
int sa6155_init(void);
|
||||
|
||||
void sm6150_exit(void);
|
||||
void sa8155_exit(void);
|
||||
void sa6155_exit(void);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
7132
asoc/sa6155.c
Normal file
7132
asoc/sa6155.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue