mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
greybus: svc: fix version response
The SVC-protocol driver currently accepts the version offered by the SVC, but still responded with a hard-coded version. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
c09db1820f
commit
59832931cb
@ -278,8 +278,9 @@ static int gb_svc_version_request(struct gb_operation *op)
|
||||
}
|
||||
|
||||
version = op->response->payload;
|
||||
version->major = GB_SVC_VERSION_MAJOR;
|
||||
version->minor = GB_SVC_VERSION_MINOR;
|
||||
version->major = connection->module_major;
|
||||
version->minor = connection->module_minor;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user