Re: BUG: scheduling while atomic in f_fs when gadget remove driver

From: Michal Nazarewicz
Date: Wed Sep 28 2016 - 12:34:26 EST


On Wed, Sep 28 2016, Chen Yu wrote:
> I will try to fix it, but I'm engaged in other tasks and can not spend
> much time on it.
>
> Do you have any suggestions about how to fix it?

epfile->ep is protected by ffs->eps_lock which brings us to realisation
that there is another bug in the code and we need to do this:

------- >8 -------------------------------------------------------------