Re: [patch 02/13] mtd: SST25L (non JEDEC) SPI Flash driver

David Woodhouse
2009-09-21T06:08:53Z

On Mon, 2009-09-21 at 15:24 +1200, Ryan Mallon wrote:
> David Woodhouse wrote:
> >
> > while (busy) {
> > if (timed_out) return -ETIMEDOUT;
> > cond_resched();
> > }
> >
>
> Okay, makes sense. I'm a bit busy at the moment, but I'll try and post a
> fix in the next couple of days. Is the patch still going to be merged as
> is, or are you waiting on a fix for this?

I've merged it already; a few days for a fix is fine. Thanks.

> The function above is based on the one of the same name from
> drivers/mtd/devices/m25p80.c, so that should also be changed? There are
> possibly other mtd drivers which also have this construct.

Hm, yes. I try to look out for this stuff but sometimes I miss it.

--
dwmw2