greybus: es2: reset cports at disable
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:29 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:19:29 +0000 (12:19 -0700)
commit6adcf44170db6cddcbbf9321244e051a72120555
treecf50a61d5a9f730f96c21f178dbd4dac55855a09
parent3cbe52c2e07ddb2c1f75e0ff9ff4e33a8e478877
greybus: es2: reset cports at disable

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