staging: bcm2835-audio: Make single vchi handle
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:47 +0000 (17:58 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:30 +0000 (00:08 +0100)
commit97756b9ba014bb8aad14f6dc33a26b32763fb39d
treee0ddcb486cd4dcb1b4778593af7f0b3c3d2c4de5
parentc6795103b632d6cdfdc0bcb2aef43bee1d566b52
staging: bcm2835-audio: Make single vchi handle

commit 326a6edcb2ada56375bd7d3fc24c83f58e8da7f3 upstream.

The bcm2835_audio_instance object contains the array of
VCHI_SERVICE_HANDLE_T, while the code assumes and uses only the first
element explicitly.  Let's reduce to a single vchi handle for
simplifying the code.

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-vchiq.c