summaryrefslogtreecommitdiffstats
path: root/sound/soc/bcm/bcm63xx-pcm-whistler.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-04-08 18:08:09 +0200
committerTakashi Iwai <tiwai@suse.de>2020-04-08 18:08:09 +0200
commitddd5609fe8b682fbe81f71b27561f14d3611d856 (patch)
treed72d453180c0c25990524813a6b54a0555453d5e /sound/soc/bcm/bcm63xx-pcm-whistler.c
parent3c6fd1f07ed03a04debbb9a9d782205f1ef5e2ab (diff)
parentccfc531695f3a4aada042f6bdb33ac6be24e1aec (diff)
downloadlinux-ddd5609fe8b682fbe81f71b27561f14d3611d856.tar.bz2
Merge tag 'asoc-fix-v5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.7 A collection of fixes that have been accumilated since the merge window, mainly relating to x86 platform support.
Diffstat (limited to 'sound/soc/bcm/bcm63xx-pcm-whistler.c')
-rw-r--r--sound/soc/bcm/bcm63xx-pcm-whistler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/bcm/bcm63xx-pcm-whistler.c b/sound/soc/bcm/bcm63xx-pcm-whistler.c
index e46c390683e7..b7a1efc7406e 100644
--- a/sound/soc/bcm/bcm63xx-pcm-whistler.c
+++ b/sound/soc/bcm/bcm63xx-pcm-whistler.c
@@ -181,7 +181,7 @@ bcm63xx_pcm_pointer(struct snd_soc_component *component,
snd_pcm_uframes_t x;
struct bcm63xx_runtime_data *prtd = substream->runtime->private_data;
- if ((void *)prtd->dma_addr_next == NULL)
+ if (!prtd->dma_addr_next)
prtd->dma_addr_next = substream->runtime->dma_addr;
x = bytes_to_frames(substream->runtime,