diff --git a/drivers/misc/mediatek/audio_ipi/common_v1/framework/audio_messenger_ipi.h b/drivers/misc/mediatek/audio_ipi/common_v1/framework/audio_messenger_ipi.h index a73f137732ee..a1947e431984 100644 --- a/drivers/misc/mediatek/audio_ipi/common_v1/framework/audio_messenger_ipi.h +++ b/drivers/misc/mediatek/audio_ipi/common_v1/framework/audio_messenger_ipi.h @@ -18,7 +18,7 @@ * ============================================================================= */ -#define MAX_IPI_MSG_BUF_SIZE (112) /* SHARE_BUF_SIZE - 16 */ +#define MAX_IPI_MSG_BUF_SIZE (240) /* SHARE_BUF_SIZE - 16 */ #define IPI_MSG_HEADER_SIZE (16) #define MAX_IPI_MSG_PAYLOAD_SIZE (MAX_IPI_MSG_BUF_SIZE - IPI_MSG_HEADER_SIZE) #define MAX_DSP_DMA_WRITE_SIZE (0x20000) diff --git a/drivers/misc/mediatek/audio_ipi/common_v2/framework/audio_messenger_ipi.h b/drivers/misc/mediatek/audio_ipi/common_v2/framework/audio_messenger_ipi.h index 77805eb8a2db..cfbe2018d8a0 100644 --- a/drivers/misc/mediatek/audio_ipi/common_v2/framework/audio_messenger_ipi.h +++ b/drivers/misc/mediatek/audio_ipi/common_v2/framework/audio_messenger_ipi.h @@ -19,7 +19,7 @@ * ============================================================================= */ -#define MAX_IPI_MSG_BUF_SIZE (112) /* SHARE_BUF_SIZE - 16 */ +#define MAX_IPI_MSG_BUF_SIZE (240) /* SHARE_BUF_SIZE - 16 */ #define IPI_MSG_HEADER_SIZE (16) #define MAX_IPI_MSG_PAYLOAD_SIZE (MAX_IPI_MSG_BUF_SIZE - IPI_MSG_HEADER_SIZE) #define MAX_DSP_DMA_WRITE_SIZE (0x20000) diff --git a/sound/soc/mediatek/audio_dsp/v1/audio_buf.h b/sound/soc/mediatek/audio_dsp/v1/audio_buf.h index a53aac9dfff7..de638f35a748 100644 --- a/sound/soc/mediatek/audio_dsp/v1/audio_buf.h +++ b/sound/soc/mediatek/audio_dsp/v1/audio_buf.h @@ -71,12 +71,12 @@ struct audio_buffer { struct audio_hw_buffer { struct audio_buffer aud_buffer; - char hw_buffer; - char audio_memiftype; /*DL 1,2,3 */ - char irq_num; /* irq with this hw buffer */ - char memory_type; /* sram,dram */ + int hw_buffer; + int audio_memiftype; /*DL 1,2,3 */ + int irq_num; /* irq with this hw buffer */ + int memory_type; /* sram,dram */ int counter; - char ignore_irq; + int ignore_irq; }; struct audiohw_buffer_ops { diff --git a/sound/soc/mediatek/audio_dsp/v2/audio_buf.h b/sound/soc/mediatek/audio_dsp/v2/audio_buf.h index a53aac9dfff7..de638f35a748 100644 --- a/sound/soc/mediatek/audio_dsp/v2/audio_buf.h +++ b/sound/soc/mediatek/audio_dsp/v2/audio_buf.h @@ -71,12 +71,12 @@ struct audio_buffer { struct audio_hw_buffer { struct audio_buffer aud_buffer; - char hw_buffer; - char audio_memiftype; /*DL 1,2,3 */ - char irq_num; /* irq with this hw buffer */ - char memory_type; /* sram,dram */ + int hw_buffer; + int audio_memiftype; /*DL 1,2,3 */ + int irq_num; /* irq with this hw buffer */ + int memory_type; /* sram,dram */ int counter; - char ignore_irq; + int ignore_irq; }; struct audiohw_buffer_ops {