]> git.baikalelectronics.ru Git - kernel.git/commit
staging: bcm2835-audio: Drop unnecessary pcm indirect setup
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:41 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 09:14:59 +0000 (11:14 +0200)
commit851094e41093d989e4b2bcd6d31a7b4ae78217c6
treec2714da014020352e12ac1bb041b7c003779f845
parent9d5d0914d1dd05d974982ee8a25ab1d9b701a1c3
staging: bcm2835-audio: Drop unnecessary pcm indirect setup

The hw_queue_size of PCM indirect helper doesn't need to be set up if
you use the whole given buffer size.  Drop the useless
initialization, which just confuses readers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c