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:
Rahul Sharma 2018-12-20 18:48:34 +05:30 • committed by Gerrit - the friendly Code Review server
commit 02bee73b77
4 changed files with 7139 additions and 7 deletions

View file

@ -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

View file

@ -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);

View file

@ -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

File diff suppressed because it is too large Load diff