mirror of https://github.com/thesofproject/sof.git
codec_adapter: move CODEC_GET_API_ID definition
to cadence.h. It isn't used elsewhere. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
d779624a9b
commit
06029a2e24
|
@ -16,6 +16,7 @@
|
|||
#define LIB_NAME_MAX_LEN 30
|
||||
#define LIB_NO_ERROR XA_NO_ERROR
|
||||
#define LIB_IS_FATAL_ERROR(e) ((e) & XA_FATAL_ERROR)
|
||||
#define CODEC_GET_API_ID(id) ((id) & 0xFF)
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Cadence API functions */
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <sof/lib/memory.h>
|
||||
|
||||
#define comp_get_module_data(d) (&(((struct processing_module *)((d)->priv_data))->priv))
|
||||
#define CODEC_GET_API_ID(id) ((id) & 0xFF)
|
||||
#define API_CALL(cd, cmd, sub_cmd, value, ret) \
|
||||
do { \
|
||||
ret = (cd)->api((cd)->self, \
|
||||
|
|
Loading…
Reference in New Issue