greybus: connection: compare hd_cport_id for matching SVC protocol
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 24 Jul 2015 13:12:03 +0000 (18:42 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 25 Jul 2015 00:45:26 +0000 (17:45 -0700)
commit77c461fa861ac813143510caaa712bfb93d15b63
tree1d6f0478625d6720bfaa3cc19e731341e9add311
parent52fa38327b39f1d307447023a8eea1f7b7ca0039
greybus: connection: compare hd_cport_id for matching SVC protocol

SVC protocol isn't per interface, but per entire entire endo. And so svc
cport id must be matched against hd_cport_id, not per-interface cport
id.

Fixes: 82edfac17e5f ("connection: don't send connected/disconnected events for SVC connection")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c