]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: connection: remove broken protocol-version handling
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:20 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:17:13 +0000 (12:17 -0800)
commit96a9b9b0eb2c5b9626bdad02c057fb22f133fc86
tree7d7d6607d4ce465b9a71b8a468cbce9d2372924f
parent357de006573f0dbbd5e214dd3f2fe808157ec530
greybus: connection: remove broken protocol-version handling

Remove the broken legacy protocol-version handling from core and move it
to the legacy driver instead.

Note that version handling has always been broken as legacy protocols
were looked up and bound to connections before the connections were
enabled and version negotiation could take place (over that very
connection). Document that in the legacy driver as well.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h
drivers/staging/greybus/legacy.c