Re: [PATCH] mtd: m25p80: consider max message size in m25p80_read when use the spi_mem_xx() API

2018-08-16 Thread Boris Brezillon
Hi Chuanhua, On Wed, 15 Aug 2018 14:33:43 +0800 Chuanhua Han wrote: > Consider a message size limit when calculating the maximum amount > of data that can be read. > > Signed-off-by: Chuanhua Han > --- > drivers/mtd/devices/m25p80.c | 7 ++- > 1 file changed, 6 insertions(+), 1

Re: [PATCH] mtd: m25p80: consider max message size in m25p80_read when use the spi_mem_xx() API

2018-08-16 Thread Boris Brezillon
Hi Chuanhua, On Wed, 15 Aug 2018 14:33:43 +0800 Chuanhua Han wrote: > Consider a message size limit when calculating the maximum amount > of data that can be read. > > Signed-off-by: Chuanhua Han > --- > drivers/mtd/devices/m25p80.c | 7 ++- > 1 file changed, 6 insertions(+), 1

[PATCH] mtd: m25p80: consider max message size in m25p80_read when use the spi_mem_xx() API

2018-08-15 Thread Chuanhua Han
Consider a message size limit when calculating the maximum amount of data that can be read. Signed-off-by: Chuanhua Han --- drivers/mtd/devices/m25p80.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index

[PATCH] mtd: m25p80: consider max message size in m25p80_read when use the spi_mem_xx() API

2018-08-15 Thread Chuanhua Han
Consider a message size limit when calculating the maximum amount of data that can be read. Signed-off-by: Chuanhua Han --- drivers/mtd/devices/m25p80.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index