projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbe52c
)
greybus: es2: reset cports at disable
author
Johan Hovold
<johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:29 +0000
(17:26 +0200)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 27 May 2016 19:19:29 +0000
(12:19 -0700)
Make sure to reset CPorts at disable rather than enable as per
specification.
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/es2.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/es2.c
b/drivers/staging/greybus/es2.c
index fd59c143d0f3d68e4153de177fcf30d4066d9f66..68a8461ea84ca73057589aa0e5f938c180fb31ac 100644
(file)
--- a/
drivers/staging/greybus/es2.c
+++ b/
drivers/staging/greybus/es2.c
@@
-602,7
+602,7
@@
static void es2_cport_release(struct gb_host_device *hd, u16 cport_id)
ida_simple_remove(&hd->cport_id_map, cport_id);
}
-static int cport_
en
able(struct gb_host_device *hd, u16 cport_id)
+static int cport_
dis
able(struct gb_host_device *hd, u16 cport_id)
{
int retval;
@@
-794,7
+794,7
@@
static struct gb_hd_driver es2_driver = {
.message_cancel = message_cancel,
.cport_allocate = es2_cport_allocate,
.cport_release = es2_cport_release,
- .cport_
enable = cport_en
able,
+ .cport_
disable = cport_dis
able,
.latency_tag_enable = latency_tag_enable,
.latency_tag_disable = latency_tag_disable,
.output = output,