summaryrefslogtreecommitdiff
path: root/mausezahn/.gitignore
blob: 32aad4d4537ef26d0c36abbff8d7e36d246f1a91 (plain)
1
2
3
4
*.*

!.gitignore
!Makefile
>mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-07-20 16:40:23 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-20 10:16:54 -0700
commit62491622db9c9b6a51630f4c8c653f59c2c834f9 (patch)
tree2b6c0ac80f4922f44036450a177a325e56957d99
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
-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