greybus: gb-audio: Activate TX connection Bundle CPort ID
authorMark A. Greer <mgreer@animalcreek.com>
Thu, 21 May 2015 22:57:02 +0000 (15:57 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 23 May 2015 23:26:41 +0000 (16:26 -0700)
commit48229e592f95b4d0071f7711bd4c0e54104724e4
treed0d80daa80e9ec734d9de655d03d030a07dc7b25
parentf9a4fee7fad79d46ef6a3b0142bed35638c8d620
greybus: gb-audio: Activate TX connection Bundle CPort ID

Currently, the audio driver activates & deactivates a predefined
CPort ID but that can vary depending on the manifest data of the
module.  Instead, use the TX connection's Bundle CPort ID which
contains the correct CPort ID.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio-pcm.c
drivers/staging/greybus/audio.h