path: root/sound/pci/au88x0/au88x0_core.c
diff options
authorLinus Torvalds <>2016-07-06 09:12:43 -0700
committerLinus Torvalds <>2016-07-06 09:12:43 -0700
commit4cdbbbd11f53c32f2359722148033b5e13dd33b5 (patch)
tree0238a9f3ed8be8718119003479301a5809259b78 /sound/pci/au88x0/au88x0_core.c
parent4d0a279c7c9965d080c029f85b9e7fa4a8e1973e (diff)
parent9cd25743765cfe851aed8d655a62d60156aed293 (diff)
Merge tag 'sound-4.7-rc7' of git://
Pull sound fixes from Takashi Iwai: "Here are a collection of small fixes: at this time, we've got a slightly high amount, but all small and trivial fixes, and nothing scary can be seen there" * tag 'sound-4.7-rc7' of git:// (21 commits) ALSA: hda/realtek: Add Lenovo L460 to docking unit fixup ALSA: timer: Fix negative queue usage by racy accesses ASoC: rt5645: fix reg-2f default value. ASoC: fsl_ssi: Fix number of words per frame for I2S-slave mode ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift() ALSA: hda - Add PCI ID for Kabylake-H ALSA: echoaudio: Fix memory allocation ASoC: Intel: atom: fix missing breaks that would cause the wrong operation to execute ALSA: hda - fix read before array start ASoC: cx20442: set tty->receiver_room in v253_open ASoC: ak4613: Enable cache usage to fix crashes on resume ASoC: wm8940: Enable cache usage to fix crashes on resume ASoC: Intel: Skylake: Initialize module list for Broxton ASoC: wm5102: Correct supported channels on trace compressed DAI ASoC: wm5110: Add missing route from OUT3R to SYSCLK ASoC: rt5670: fix HP Playback Volume control ASoC: hdmi-codec: select CONFIG_HDMI ASoC: davinci-mcasp: Fix dra7 DMA offset when using CFG port ASoC: hdac_hdmi: Fix potential NULL dereference ASoC: ak4613: Remove owner assignment from platform_driver ...
Diffstat (limited to 'sound/pci/au88x0/au88x0_core.c')
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c
index 4a054d720112..d3125c169684 100644
--- a/sound/pci/au88x0/au88x0_core.c
+++ b/sound/pci/au88x0/au88x0_core.c
@@ -1444,9 +1444,8 @@ static int vortex_wtdma_bufshift(vortex_t * vortex, int wtdma)
int page, p, pp, delta, i;
page =
- (hwread(vortex->mmio, VORTEX_WTDMA_STAT + (wtdma << 2)) &
+ (hwread(vortex->mmio, VORTEX_WTDMA_STAT + (wtdma << 2))
if (dma->nr_periods >= 4)
delta = (page - dma->period_real) & 3;
else {