summaryrefslogtreecommitdiff
path: root/flowtop.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.zsh')
0 files changed, 0 insertions, 0 deletions
c834f9'>2b6c0ac80f4922f44036450a177a325e56957d99 /drivers parent3e93cb6abbc023aebf311618481263e000bf26fb (diff)
greybus: interface: make sure type is invariant during reactivation
An interface is not expected to change its type after a power down and reactivation so make sure to treat that as a fatal error. This is complicated by the current Toshiba ES3 hack which requires us to retry activation as Greybus interfaces are sometimes misdetected as UniPro interfaces. Handle that by only retrying activation the first time an interface is activated, and for interfaces already detected as having Greybus type. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Sandeep Patil <sspatil@google.com> Reviewed-by: Patrick Titiano <ptitiano@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/interface.c75
1 files changed, 55 insertions, 20 deletions
diff --git a/drivers/staging/greybus/interface.c b/drivers/staging/greybus/interface.c