Property "halted" of s3c_hsotg_ep structure is actually initialised when ep
enabled, and changed when halt is set/cleared.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
/* default, set to non-periodic */
hs_ep->isochronous = 0;
hs_ep->periodic = 0;
+ hs_ep->halted = 0;
hs_ep->interval = desc->bInterval;
if (hs_ep->interval > 1 && hs_ep->mc > 1)
writel(epctl, hs->regs + epreg);
+ hs_ep->halted = value;
+
return 0;
}