Skip to content

Commit 8aff3de

Browse files
authored
Merge pull request #476 from jajanusz/fix-hda-dgbwp-typo
hda-dma: fix typo - read DGBWP
2 parents a14bfeb + d260db7 commit 8aff3de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/drivers/intel/cavs/hda-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static inline uint32_t hda_dma_get_data_size(struct dma *dma, uint32_t chan)
158158
const uint32_t cs = host_dma_reg_read(dma, chan, DGCS);
159159
const uint32_t bs = host_dma_reg_read(dma, chan, DGBS);
160160
const uint32_t rp = host_dma_reg_read(dma, chan, DGBRP);
161-
const uint32_t wp = host_dma_reg_read(dma, chan, DGBRP);
161+
const uint32_t wp = host_dma_reg_read(dma, chan, DGBWP);
162162

163163
uint32_t ds;
164164

0 commit comments

Comments
 (0)