greybus: connection: remove special check for svc cport id
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 30 Jul 2015 16:43:27 +0000 (22:13 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 30 Jul 2015 19:21:12 +0000 (12:21 -0700)
commit48ed3f6e4202c9ddadac057108c273b8be85a78d
treecc26ed4c1524ca2b6d75732dc68fad00d4827318
parent3eac885de205ef57c3d434a8a4e2eadfd4cedde7
greybus: connection: remove special check for svc cport id

This is required to get things working for now, after the latest revert
of svc protocol is done.

Currently svc's cport id is set to 2 and that hd cport id will be used
for the third connection we make. And that protocol (which is i2c in one
of the cases), may not work as the (dis)connected event isn't sent for
it.

Fix this by getting rid of svc protocol check from (dis)connected
events for now. This must be reverted later, once svc protocol is
included again.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Mark Greer <mgreer@animalcreek.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c