On Thu, 29 Aug 2019 20:48:33 +0200 (CEST), Richard Weinberger <[email protected]> 
wrote:

> ----- Ursprüngliche Mail -----
> > Von: "Dark" <[email protected]>
> > +   // Returning -EAGAIN to userspace is not nice.
> > +   if (err == -EAGAIN)
> > +           return 0;  
> 
> Hmm, doesn't this result in a short read?
> The current drives sets the calling task to sleep and wakes
> it up as soon data is available again. I'd assumes ti have the
> same behavior for the new driver.
> 
> Thanks,
> //richard

Clearly this patch needs a lot more work before I submit it. I'll 
take some time to polish it up and then resubmit it if that's fine.

Reply via email to