MLK-9617-7 usb: otg: add hnp_polling flag in struct otg_fsm
authorLi Jun <B47624@freescale.com>
Mon, 29 Sep 2014 02:04:45 +0000 (10:04 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:13 +0000 (14:47 -0500)
This patch adds a flag hnp_polling to indicate if HNP polling is supported.

Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit b19d4b1110fe1fb2ec3141233781a1e016c9a9cf)
(cherry picked from commit cad8ae2986ab0b70d0f13b96c98f340564213d4c)

include/linux/usb/otg-fsm.h

index 5978e9f..229d364 100644 (file)
@@ -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;