RE: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
> -Original Message- > From: Boris Brezillon > Sent: 2018年9月30日 18:40 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; e...@deif.com > Subject: Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw functio

RE: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
> -Original Message- > From: Boris Brezillon > Sent: 2018年9月30日 18:40 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; e...@deif.com > Subject: Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw functio

RE: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
> -Original Message- > From: Esben Haabendal On Behalf Of Esben > Haabendal > Sent: 2018年9月30日 18:18 > To: Boris Brezillon > Cc: Chuanhua Han ; broo...@kernel.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v

Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Boris Brezillon
f.com > > Subject: Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function > > > > Hi Chuanhua, > > > > On Sun, 30 Sep 2018 17:25:32 +0800 > > Chuanhua Han wrote: > > > > > Before we add this spi_transfer to the spi_message chai

RE: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
> -Original Message- > From: Esben Haabendal On Behalf Of Esben > Haabendal > Sent: 2018年9月30日 18:18 > To: Boris Brezillon > Cc: Chuanhua Han ; broo...@kernel.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v

Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Boris Brezillon
f.com > > Subject: Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function > > > > Hi Chuanhua, > > > > On Sun, 30 Sep 2018 17:25:32 +0800 > > Chuanhua Han wrote: > > > > > Before we add this spi_transfer to the spi_message chai

RE: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
> -Original Message- > From: Boris Brezillon > Sent: 2018年9月30日 18:04 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; e...@deif.com > Subject: Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw func

RE: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
> -Original Message- > From: Boris Brezillon > Sent: 2018年9月30日 18:04 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; e...@deif.com > Subject: Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw func

Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Esben Haabendal
Boris Brezillon writes: > Hi Chuanhua, > > On Sun, 30 Sep 2018 17:25:32 +0800 > Chuanhua Han wrote: > >> Before we add this spi_transfer to the spi_message chain table, we need >> bits_per_word_mask based on spi_control to set the bits_per_word of >> this spi_transfer. > > Let's make it

Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Esben Haabendal
Boris Brezillon writes: > Hi Chuanhua, > > On Sun, 30 Sep 2018 17:25:32 +0800 > Chuanhua Han wrote: > >> Before we add this spi_transfer to the spi_message chain table, we need >> bits_per_word_mask based on spi_control to set the bits_per_word of >> this spi_transfer. > > Let's make it

Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Boris Brezillon
Hi Chuanhua, On Sun, 30 Sep 2018 17:25:32 +0800 Chuanhua Han wrote: > Before we add this spi_transfer to the spi_message chain table, we need > bits_per_word_mask based on spi_control to set the bits_per_word of > this spi_transfer. Let's make it clearer: this is wrong. The spi-mem protocol is

Re: [PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Boris Brezillon
Hi Chuanhua, On Sun, 30 Sep 2018 17:25:32 +0800 Chuanhua Han wrote: > Before we add this spi_transfer to the spi_message chain table, we need > bits_per_word_mask based on spi_control to set the bits_per_word of > this spi_transfer. Let's make it clearer: this is wrong. The spi-mem protocol is

[PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
Before we add this spi_transfer to the spi_message chain table, we need bits_per_word_mask based on spi_control to set the bits_per_word of this spi_transfer. Signed-off-by: Chuanhua Han --- Changes in v2: -The original patch is divided into multiple patches(the original patch theme is "spi:

[PATCH v2 1/4] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-30 Thread Chuanhua Han
Before we add this spi_transfer to the spi_message chain table, we need bits_per_word_mask based on spi_control to set the bits_per_word of this spi_transfer. Signed-off-by: Chuanhua Han --- Changes in v2: -The original patch is divided into multiple patches(the original patch theme is "spi: