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:
Ranjani Sridharan 2022-03-23 16:06:42 -07:00 committed by Liam Girdwood
parent d779624a9b
commit 06029a2e24
2 changed files with 1 additions and 1 deletions

View File

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

View File

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