From 5a4cc8d8893e8787cf71ca236011d45867b13364 Mon Sep 17 00:00:00 2001 From: Li Jun Date: Mon, 29 Sep 2014 10:04:45 +0800 Subject: [PATCH] MLK-9617-7 usb: otg: add hnp_polling flag in struct otg_fsm This patch adds a flag hnp_polling to indicate if HNP polling is supported. Signed-off-by: Li Jun (cherry picked from commit b19d4b1110fe1fb2ec3141233781a1e016c9a9cf) (cherry picked from commit cad8ae2986ab0b70d0f13b96c98f340564213d4c) --- 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 5978e9f22032..229d3649d858 100644 --- a/include/linux/usb/otg-fsm.h +++ b/include/linux/usb/otg-fsm.h @@ -189,6 +189,7 @@ struct otg_fsm { int b_srp_done; int b_hnp_enable; int a_clr_err; + int hnp_polling; /* OTG test device */ int tst_maint; -- 2.17.1