Re: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-11-20 Thread Michal Suchanek
Hello, On 5 November 2015 at 04:39, Hou Zhiqiang wrote: > Hi Michal, > > Does this have any updates? I will try to update this patchset when it's agreed how the limit on transfer size is handled. Writing less data than was requested is acceptable for spi-nor but might disrupt other drivers so pe

Re: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-11-19 Thread Heiner Kallweit
Am 20.11.2015 um 00:39 schrieb Brian Norris: > + Heiner > > On Fri, Aug 14, 2015 at 09:23:09AM -, Michal Suchanek wrote: >> mtdblock and ubi do not handle the situation when read returns less data >> than requested. Loop in spi-nor until buffer is filled or an error is >> returned. > > I'm sl

Re: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-11-19 Thread Brian Norris
+ Heiner On Fri, Aug 14, 2015 at 09:23:09AM -, Michal Suchanek wrote: > mtdblock and ubi do not handle the situation when read returns less data > than requested. Loop in spi-nor until buffer is filled or an error is > returned. I'm slightly torn on this patch. I believe this is inspired by i

RE: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-11-04 Thread Hou Zhiqiang
fał Miłecki; Huang Shijie; Ben Hutchings; Marek Vasut; > Gabor Juhos; Bean Huo 霍斌斌,; MTD Maling List; LKML > Subject: Re: [PATCH v4 7/7] mtd: spi-nor: add read loop > > On 14 August 2015 at 12:02, Andrew Murray > wrote: > > On 14 August 2015 at 10:23, Michal Suchanek wrote:

Re: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-08-14 Thread Michal Suchanek
On 14 August 2015 at 12:02, Andrew Murray wrote: > On 14 August 2015 at 10:23, Michal Suchanek wrote: >> mtdblock and ubi do not handle the situation when read returns less data >> than requested. Loop in spi-nor until buffer is filled or an error is >> returned. >> >> Signed-off-by: Michal Sucha

Re: [PATCH v4 7/7] mtd: spi-nor: add read loop

2015-08-14 Thread Andrew Murray
On 14 August 2015 at 10:23, Michal Suchanek wrote: > mtdblock and ubi do not handle the situation when read returns less data > than requested. Loop in spi-nor until buffer is filled or an error is > returned. > > Signed-off-by: Michal Suchanek > --- > drivers/mtd/spi-nor/spi-nor.c | 20