This patch adds feature flags support to s3c-hsotg driver, according to
changes in Gadget Framework API.

Signed-off-by: Robert Baldyga <r.bald...@samsung.com>
---
 drivers/usb/gadget/s3c-hsotg.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 99c8e3c..feec03a 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -3179,6 +3179,11 @@ static void s3c_hsotg_initep(struct s3c_hsotg *hsotg,
        hs_ep->parent = hsotg;
        hs_ep->ep.name = hs_ep->name;
        usb_ep_set_maxpacket_limit(&hs_ep->ep, epnum ? 1024 : EP0_MPS_LIMIT);
+       hs_ep->ep.has_dir_in = true;
+       hs_ep->ep.has_dir_out = true;
+       hs_ep->ep.has_bulk = true;
+       hs_ep->ep.has_interrupt = true;
+       hs_ep->ep.has_isochronous = true;
        hs_ep->ep.ops = &s3c_hsotg_ep_ops;
 
        /*
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to