Re: [PATCH 1/2] staging: dwc2: when dma is disabled, clear dev->dma_mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > +       if (hsotg->core_params->dma_enable <= 0)
> > > +               hcd->self.uses_dma = 0;
> > > +
> > >         hcd->has_tt = 1;
> > >  
> > >         spin_lock_init(&hsotg->lock);
> 
> This is okay providing you do it before calling usb_add_hcd().

Great, thanks!

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux