kconfig: iir: group function pointer in arrays by data type

It will be helpful in next step - selective compilation.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
Karol Trzcinski 2019-11-06 22:08:15 +01:00 committed by Liam Girdwood
parent 724617f282
commit a64bdddc81
1 changed files with 4 additions and 4 deletions

View File

@ -279,11 +279,11 @@ static void eq_iir_s32_s24_pass(struct comp_dev *dev,
const struct eq_iir_func_map fm_configured[] = {
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S16_LE, eq_iir_s16_default},
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S24_4LE, NULL},
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S32_LE, NULL},
{SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S16_LE, NULL},
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S32_LE, NULL},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S16_LE, eq_iir_s32_16_default},
{SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S24_4LE, eq_iir_s24_default},
{SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S32_LE, NULL},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S16_LE, eq_iir_s32_16_default},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S24_4LE, eq_iir_s32_24_default},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S32_LE, eq_iir_s32_default},
};
@ -291,11 +291,11 @@ const struct eq_iir_func_map fm_configured[] = {
const struct eq_iir_func_map fm_passthrough[] = {
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S16_LE, eq_iir_s16_pass},
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S24_4LE, NULL},
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S32_LE, NULL},
{SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S16_LE, NULL},
{SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S32_LE, NULL},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S16_LE, eq_iir_s32_s16_pass},
{SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S24_4LE, eq_iir_s32_pass},
{SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S32_LE, NULL},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S16_LE, eq_iir_s32_s16_pass},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S24_4LE, eq_iir_s32_s24_pass},
{SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S32_LE, eq_iir_s32_pass},
};