diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-05-30 11:31:53 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-31 22:02:58 -0700 |
commit | 64060fe95458f22bac7327b2ee8dc5ce9e488d44 (patch) | |
tree | b17a641e46226ed8a4635963964ccae6f609938e /drivers/staging/greybus/usb.c | |
parent | 5e569115e9b9d4af631589b9d9cc5227a660b008 (diff) | |
download | op-kernel-dev-64060fe95458f22bac7327b2ee8dc5ce9e488d44.zip op-kernel-dev-64060fe95458f22bac7327b2ee8dc5ce9e488d44.tar.gz |
greybus: gbphy: Remove protocol specific version handling
We should be using the generic version handling at bundle level, instead
of at protocol level for bridged PHY devices as well.
The bundle version handling is already in place, though it is *not* used
today as we haven't bumped the version of control protocol yet.
Remove protocol specific handling for bridged PHY devices.
Tested on EVT 1.5 with gpbridge-test module. No nuttx changes are
required with this.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/usb.c')
-rw-r--r-- | drivers/staging/greybus/usb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c index e5ba34a..ccadda0 100644 --- a/drivers/staging/greybus/usb.c +++ b/drivers/staging/greybus/usb.c @@ -190,10 +190,6 @@ static int gb_usb_probe(struct gbphy_device *gbphy_dev, if (retval) goto exit_connection_destroy; - retval = gb_gbphy_get_version(connection); - if (retval) - goto exit_connection_disable; - /* * FIXME: The USB bridged-PHY protocol driver depends on changes to * USB core which are not yet upstream. |