USB: fix oops on disconnect in cdc-acm
[firefly-linux-kernel-4.4.55.git] / drivers / usb / class / cdc-acm.h
index 1602324808bafb510e374520b9eb0a264617dc02..c4a0ee8ffccfb3ae4203c8cac4d091d88177b478 100644 (file)
@@ -126,6 +126,8 @@ struct acm {
        unsigned int ctrl_caps;                         /* control capabilities from the class specific header */
        unsigned int susp_count;                        /* number of suspended interfaces */
        int combined_interfaces:1;                      /* control and data collapsed */
+       int is_int_ep:1;                                /* interrupt endpoints contrary to spec used */
+       u8 bInterval;
        struct acm_wb *delayed_wb;                      /* write queued for a device about to be woken */
 };