Hi, On Wed, Mar 21, 2012 at 12:59:48PM +0100, Lukasz Majewski wrote: > @@ -3438,14 +3437,40 @@ static int __devinit s3c_hsotg_probe(struct platform_device *pdev) > > s3c_hsotg_corereset(hsotg); > s3c_hsotg_init(hsotg); > + s3c_hsotg_hw_cfg(hsotg); > + > + /* hsotg->num_of_eps holds number of EPs other than ep0 */ > + > + eps = kzalloc(sizeof(struct s3c_hsotg_ep) * (hsotg->num_of_eps + 1), > + GFP_KERNEL); how about kcalloc() ?? -- balbi
Attachment:
signature.asc
Description: Digital signature