Files
OpenCellular/include
Alec Berg d27dacf214 host_command_pd: loop over sending PD status host command
Modify host_command_pd.c to loop over sending of PD status
host command and processing the response as long as the
alert GPIO is active.

This fixes a potential bug that if the alert line is held
low for more than one PD status host command, then we would
not process the return status.

Also, fix a bug in which we could call alert() for a
non-existent port.

BUG=none
BRANCH=strago
TEST=verified on samus and glados. connected charger and verified
that we negotiate a contract and set appropriate input currnet limit.

Change-Id: I3b2db87b51f55fc2b20a4695bd466ff8bb09ea55
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/288819
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Trybot-Ready: David James <davidjames@chromium.org>
2015-07-29 06:38:45 +00:00
..
2013-12-17 21:27:53 +00:00
2015-06-04 19:33:00 +00:00
2013-04-05 14:28:42 -07:00
2015-07-01 03:49:14 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-07-27 22:19:16 +00:00
2014-02-08 00:14:48 +00:00
2013-10-25 20:12:49 +00:00
2012-10-26 09:49:38 -07:00
2015-06-10 18:24:05 +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-05-27 03:58:16 +00:00
2013-06-26 09:08:23 -07:00
2015-06-17 13:10:58 +00:00
2013-10-30 23:10:13 +00:00
2013-08-07 12:43:48 -07:00
2015-06-17 13:10:58 +00:00
2015-06-25 17:21:50 +00:00
2015-06-18 19:07:00 +00:00
2011-12-07 19:10:02 +00:00
2015-04-30 02:31:22 +00:00
2015-03-06 08:48:39 +00:00
2015-07-27 22:19:26 +00:00
2012-10-25 14:12:11 -07:00
2012-10-25 14:12:10 -07:00
2015-06-18 19:07:00 +00:00
2013-10-30 23:10:10 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2012-08-09 17:40:37 -07:00
2015-06-18 19:07:00 +00:00
2015-05-07 23:39:06 +00:00
2015-06-18 19:07:00 +00:00
2015-06-17 13:10:58 +00:00
2013-11-21 00:09:09 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-01-20 20:56:43 +00:00