blob: 230b6b6b9930c38be1926d0274c335e3c0bef00d [file] [log] [blame]
/*
* ALSA SoC - Samsung Abox synchronized IPC driver
*
* Copyright (c) 2016 Samsung Electronics Co. Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __SEC_SYNCHRONIZED_IPC_RICHTEK
#define __SEC_SYNCHRONIZED_IPC_RICHTEK
#ifdef CONFIG_SEC_SND_SYNCHRONIZED_IPC_RICHTEK
int richtek_spm_write(const void *data, int size);
int richtek_spm_read(void *data, int size);
#else
static inline int richtek_spm_write(const void *data, int size)
{
return -ENOSYS;
}
static inline int richtek_spm_read(void *data, int size)
{
return -ENOSYS;
}
#endif /* CONFIG_SEC_SND_SYNCHRONIZED_IPC_RICHTEK */
static inline int32_t dsm_read_write(void *data)
{
return -ENOSYS;
}
#endif /* __SEC_SYNCHRONIZED_IPC_RICHTEK */