mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
staging: bcm2835-audio: fix unnecessary space after cast
Fix issue reported by checkpatch: CHECK: No space is necessary after a cast FILE: drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c:240: Signed-off-by: Adrien Thierry <athierry@redhat.com> Link: https://lore.kernel.org/r/20220414181622.102049-4-athierry@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b526eb830f
commit
f936d818bb
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ static void snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream,
|
||||||
{
|
{
|
||||||
struct snd_pcm_runtime *runtime = substream->runtime;
|
struct snd_pcm_runtime *runtime = substream->runtime;
|
||||||
struct bcm2835_alsa_stream *alsa_stream = runtime->private_data;
|
struct bcm2835_alsa_stream *alsa_stream = runtime->private_data;
|
||||||
void *src = (void *) (substream->runtime->dma_area + rec->sw_data);
|
void *src = (void *)(substream->runtime->dma_area + rec->sw_data);
|
||||||
|
|
||||||
bcm2835_audio_write(alsa_stream, bytes, src);
|
bcm2835_audio_write(alsa_stream, bytes, src);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue