e2db205a11
Add voice MHI driver to support the following features - 1. Allocate and map mailbox memory needed for voice call packet exchange. 2. Send memory mapped addresses to ADSP. 3. Vote MHI host driver at start and stop of a voice call. Change-Id: I8ef8bc270acacab9b80bca7addccdf73bd572adf Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
25 lines
373 B
C
25 lines
373 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __VOICE_MHI_H__
|
|
#define __VOICE_MHI_H__
|
|
|
|
#ifdef CONFIG_VOICE_MHI
|
|
int voice_mhi_start(void);
|
|
int voice_mhi_end(void);
|
|
#else
|
|
static inline int voice_mhi_start(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int voice_mhi_end(void)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif
|