From 7c71b3b069afc417b6ad8bdb6e412184baf2b975 Mon Sep 17 00:00:00 2001 From: Li Jun Date: Sat, 27 Sep 2014 21:07:48 +0800 Subject: [PATCH] MLK-9638-2 usb: otg: test: add otg_hnp_reqd flag in struct otg_fsm This patch adds flag otg_hnp_reqd in struct otg_fsm to indicate A device as host wants to start HNP sequence. Acked-by: Peter Chen Signed-off-by: Li Jun (cherry picked from commit 92382e06c6902731b05dcbb0db4f0ebfa486969f) (cherry picked from commit 8e3f26a58f995711a81b401af26fbe5ed12e17f4) --- include/linux/usb/otg-fsm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h index b06f57c9ac31..b38a9e242528 100644 --- a/include/linux/usb/otg-fsm.h +++ b/include/linux/usb/otg-fsm.h @@ -193,6 +193,7 @@ struct otg_fsm { int tst_maint; int otg_vbus_off; int otg_srp_reqd; + int otg_hnp_reqd; /* Informative variables. All unused as of now */ int a_bus_drop_inf; -- 2.17.1