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:
Keyon Jie 2017-02-11 10:17:45 +08:00 committed by Liam Girdwood
parent 105a6c297f
commit b3909d4601
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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