usb_pd_protocol: Force rediscovering identity on boot

This is useful with Apple's HDMI adapter, as the code that sends
the discovery message will also swap vconn as required.

BRANCH=none
BUG=chromium:644663
TEST=On elm, S5. Plug adapter with power+HDMI. Switch on elm,
     display works.

Change-Id: I21d47c69e2c7153a5d808dedcb1abe360ce3f5c0
Reviewed-on: https://chromium-review.googlesource.com/415698
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c
index 1055ed6..dd84d80 100644
--- a/common/usb_pd_protocol.c
+++ b/common/usb_pd_protocol.c
@@ -2950,6 +2950,8 @@
 #endif
 			pd[i].flags |= PD_FLAGS_CHECK_PR_ROLE |
 				       PD_FLAGS_CHECK_DR_ROLE;
+
+		pd[i].flags |= PD_FLAGS_CHECK_IDENTITY;
 	}
 
 	pd_set_dual_role(PD_DRP_TOGGLE_ON);