Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 988afa4f authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: adding machine driver for sa6155"

parents 05c72dcc 02bee73b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+3 −3
Original line number Diff line number Diff line
/*
* 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);
+3 −3
Original line number Diff line number Diff line
/*
* 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

asoc/sa6155.c

0 → 100644
+7132 −0

File added.

Preview size limit exceeded, changes collapsed.