mirror of https://github.com/thesofproject/sof.git
ipc: presentation_posn should be uint64_t type
The presentation_posn used for dai rendered bytes readback to host side should be uint64_t type, according to the driver side definition. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
parent
105a6c297f
commit
b3909d4601
|
@ -65,7 +65,7 @@ struct dai_data {
|
|||
|
||||
uint32_t dai_pos_blks; /* position in bytes (nearest block) */
|
||||
|
||||
volatile uint32_t *dai_pos;
|
||||
volatile uint64_t *dai_pos; /* host can read back this value without IPC */
|
||||
};
|
||||
|
||||
/* this is called by DMA driver every time descriptor has completed */
|
||||
|
|
|
@ -612,7 +612,7 @@ struct sst_intel_ipc_stream_vol {
|
|||
|
||||
struct sst_intel_ipc_stream_data {
|
||||
uint32_t read_posn;
|
||||
uint32_t presentation_posn;
|
||||
uint64_t presentation_posn;
|
||||
struct sst_intel_ipc_stream_vol vol[IPC_INTEL_NO_CHANNELS];
|
||||
} __attribute__((packed));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue