Skip to content

Refine some IPC data structures to make its size 4bytes aligned #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/uapi/sound/sof-ipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ struct sof_ipc_dai_dmic_pdm_ctrl {
uint16_t polarity_mic_b; /* Optionally invert mic B signal (0 or 1) */
uint16_t clk_edge; /* Optionally swap data clock edge (0 or 1) */
uint16_t skew; /* Adjust PDM data sampling vs. clock (0..15) */
uint16_t pad; /* Make sure the total size is 4 bytes aligned */
} __attribute__((packed));

/* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */
Expand Down Expand Up @@ -765,6 +766,7 @@ struct sof_ipc_fw_version {
uint8_t date[12];
uint8_t time[10];
uint8_t tag[6];
uint8_t pad[2]; /* Make sure the total size is 4 bytes aligned */
} __attribute__((packed));

/* FW ready Message - sent by firmware when boot has completed */
Expand Down