Vincent Palatin
181913141d
pd: do not glitch USB when going to S5 in debug mode
...
When we are going to S5 with a debug accessory plugged, we cannot
transition through the 'PD_DRP_FORCE_SINK' else we would
disable/re-enable the USB muxes triggering disconnections/glitches on
the USB debug console.
So, rework the management of the dual role toggling special case
(used to detect debug accessories) : remove the special DRP state and
re-write the conditions.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org >
BRANCH=smaug
BUG=chrome-os-partner:41399
TEST=on Ryu, connect to the EC console through Suzy-Q and issue
the "apshutdown" command, then see the EC USB console is randomly
disconnected/re-connected or acting up.
Change-Id: Id44a9360a836e7c10a30f5afb2971bc7c3d01a5c
Reviewed-on: https://chromium-review.googlesource.com/277275
Reviewed-by: Alec Berg <alecaberg@chromium.org >
Tested-by: Vincent Palatin <vpalatin@chromium.org >
Commit-Queue: Vincent Palatin <vpalatin@chromium.org >
2015-06-13 01:25:13 +00:00
..
2014-11-18 05:19:08 +00:00
2013-12-12 18:21:56 +00:00
2014-03-20 23:51:28 +00:00
2015-01-21 05:05:47 +00:00
2013-12-17 21:27:53 +00:00
2015-04-10 22:08:25 +00:00
2014-12-31 00:01:00 +00:00
2014-07-23 02:29:59 +00:00
2014-07-23 02:29:59 +00:00
2015-06-04 19:33:00 +00:00
2013-04-05 14:28:42 -07:00
2014-02-08 04:15:39 +00:00
2014-02-08 04:15:39 +00:00
2015-02-10 23:07:16 +00:00
2015-06-10 19:48:08 +00:00
2015-05-02 01:14:13 +00:00
2014-04-11 15:37:38 +00:00
2014-12-15 19:53:46 +00:00
2015-01-15 05:13:14 +00:00
2014-05-15 05:28:08 +00:00
2015-04-10 22:08:25 +00:00
2015-02-10 10:47:07 +00:00
2015-05-19 02:46:27 +00:00
2013-04-29 11:05:08 -07:00
2015-05-15 06:42:30 +00:00
2015-06-12 22:21:15 +00:00
2015-05-19 02:46:27 +00:00
2015-05-26 19:36:21 +00:00
2014-08-29 02:57:00 +00:00
2014-08-08 03:11:38 +00:00
2015-01-09 05:40:18 +00:00
2014-02-08 00:14:48 +00:00
2015-06-11 18:27:24 +00:00
2013-10-25 20:12:49 +00:00
2015-06-10 18:24:05 +00:00
2014-11-06 02:28:22 +00:00
2015-05-15 06:42:30 +00:00
2014-10-29 22:23:43 +00:00
2015-05-27 03:58:16 +00:00
2015-05-27 03:58:16 +00:00
2015-04-10 22:08:25 +00:00
2015-05-27 03:58:16 +00:00
2015-05-19 02:46:27 +00:00
2015-05-19 02:46:27 +00:00
2013-06-26 09:08:23 -07:00
2013-03-20 15:23:29 -07:00
2015-06-05 03:22:06 +00:00
2014-08-25 20:52:32 +00:00
2015-04-10 22:08:25 +00:00
2014-02-07 04:13:18 +00:00
2015-01-24 06:42:02 +00:00
2013-10-30 23:10:13 +00:00
2014-02-07 04:13:14 +00:00
2015-04-10 22:08:25 +00:00
2014-04-11 20:02:30 +00:00
2013-03-22 11:24:29 -07:00
2014-10-08 02:50:54 +00:00
2013-08-07 12:43:48 -07:00
2015-02-05 19:41:41 +00:00
2013-04-02 14:12:57 -07:00
2014-10-08 02:50:54 +00:00
2014-10-15 18:22:37 +00:00
2014-11-21 06:23:16 +00:00
2015-04-13 20:00:58 +00:00
2015-03-25 20:09:52 +00:00
2015-06-09 12:10:42 +00:00
2014-10-24 01:37:58 +00:00
2015-04-30 02:31:22 +00:00
2015-03-06 08:48:39 +00:00
2015-05-12 23:35:51 +00:00
2015-03-14 03:22:37 +00:00
2014-01-07 04:53:20 +00:00
2015-04-27 23:29:30 +00:00
2015-06-04 01:15:55 +00:00
2013-04-24 16:32:58 -07:00
2015-05-07 17:25:40 +00:00
2015-05-26 19:36:21 +00:00
2013-10-30 23:10:10 +00:00
2015-06-11 00:08:49 +00:00
2015-06-09 12:10:37 +00:00
2014-12-01 20:30:46 +00:00
2014-08-26 23:06:23 +00:00
2014-08-29 02:57:00 +00:00
2015-02-18 04:53:59 +00:00
2015-03-17 01:42:30 +00:00
2015-03-11 23:18:09 +00:00
2015-05-07 23:39:06 +00:00
2015-05-07 23:39:06 +00:00
2014-01-22 04:52:49 +00:00
2015-04-10 22:08:25 +00:00
2015-01-14 03:16:10 +00:00
2014-01-06 12:40:45 +00:00
2015-02-12 06:44:04 +00:00
2013-10-23 21:27:40 +00:00
2014-02-08 04:21:26 +00:00
2014-03-01 20:15:59 +00:00
2015-01-14 03:15:41 +00:00
2014-08-10 18:39:24 +00:00
2013-11-21 00:09:09 +00:00
2015-04-10 22:08:25 +00:00
2014-11-21 02:44:07 +00:00
2014-10-11 02:22:23 +00:00
2015-06-12 16:37:39 +00:00
2014-11-13 03:14:37 +00:00
2014-06-19 03:28:43 +00:00
2015-05-27 02:39:48 +00:00
2015-06-03 03:50:06 +00:00
2015-06-13 01:25:13 +00:00
2015-06-10 19:48:08 +00:00
2015-01-08 00:38:13 +00:00
2014-08-28 20:12:52 +00:00
2014-06-17 18:34:03 +00:00
2015-01-20 20:56:43 +00:00