Skip to content

Commit

Permalink
Revert "[ALPS07067778] Audio ipi: ipi buffer size 128 bytes"
Browse files Browse the repository at this point in the history
* Causes issues with our audio stack which hasn't been compiled with
  these changes.

This reverts commit 77b300ab00d248d8821a160d92a5598a2f903d32.

Change-Id: Ieac174a0a957e5fc9c746b3d4a109141b549b7bd
Signed-off-by: bengris32 <[email protected]>
  • Loading branch information
bengris32 authored and techyminati committed Jul 10, 2023
1 parent 3f47d72 commit 9683919
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions sound/soc/mediatek/audio_dsp/v1/audio_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions sound/soc/mediatek/audio_dsp/v2/audio_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9683919

Please sign in to comment.