]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: bcm2835-audio: Make single vchi handle
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:47 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 09:15:00 +0000 (11:15 +0200)
commitf5a3db42e8a6a9efdcafcf6d8c046b34663c97c6
tree3f4af8f8ec4d73cc9c18bb40f2807ab65c940044
parent66890d53130d90df4572987b2ebcad05595f76c7
staging: bcm2835-audio: Make single vchi handle

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