aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/audio_module.c
diff options
context:
space:
mode:
authorPankaj Bharadiya <pankaj.bharadiya@gmail.com>2016-10-16 15:29:14 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-17 09:38:37 +0200
commitd0af1bd5f6f44971bea2e45acfe07de629734a3e (patch)
tree654a4a6660817fdbae85c6d531f9bf980319ef33 /drivers/staging/greybus/audio_module.c
parentStaging: lustre: indent an if statement (diff)
downloadlinux-dev-d0af1bd5f6f44971bea2e45acfe07de629734a3e.tar.xz
linux-dev-d0af1bd5f6f44971bea2e45acfe07de629734a3e.zip
staging: greybus: audio: Rename cport with intf_id
gb_audio_manager_module_descriptor's cport field is actually used to manage and pass interface id to user space. Thus rename gb_audio_manager_module_descriptor's 'cport' field and few other things to avoid confusion. Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@gmail.com> Reviewed-by: Vaibhav Agarwal <vaibhav.sr@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/audio_module.c')
-rw-r--r--drivers/staging/greybus/audio_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_module.c b/drivers/staging/greybus/audio_module.c
index ae1c0fa85752..45b2519322c3 100644
--- a/drivers/staging/greybus/audio_module.c
+++ b/drivers/staging/greybus/audio_module.c
@@ -348,7 +348,7 @@ static int gb_audio_probe(struct gb_bundle *bundle,
desc.slot = 1; /* todo */
desc.vid = 2; /* todo */
desc.pid = 3; /* todo */
- desc.cport = gbmodule->dev_id;
+ desc.intf_id = gbmodule->dev_id;
desc.op_devices = gbmodule->op_devices;
desc.ip_devices = gbmodule->ip_devices;
gbmodule->manager_id = gb_audio_manager_add(&desc);