Skip to content

Commit d260db7

Browse files
committed
hda-dma: fix typo - read DGBWP
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
1 parent ccaff5c commit d260db7

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)