Re: [PATCH] spi: rockchip: return 0 if tx_buf and rx_buf are NULL

2014-08-14 Thread Mark Brown
On Thu, Aug 14, 2014 at 08:52:24AM +0800, Addy Ke wrote: > To do so, spi communication can use an empty buf to pull up CS. > This patch merged from ChromiumOS tree. > Cros_ec use this function to turn off CS and add a delay to ensure > the rising edge doesn't come too soon after the end of the dat

Re: [PATCH] spi: rockchip: return 0 if tx_buf and rx_buf are NULL

2014-08-14 Thread Dmitry Torokhov
Hi Addy, On Thu, Aug 14, 2014 at 08:52:24AM +0800, Addy Ke wrote: > To do so, spi communication can use an empty buf to pull up CS. > > This patch merged from ChromiumOS tree. > Cros_ec use this function to turn off CS and add a delay to ensure > the rising edge doesn't come too soon after the en

[PATCH] spi: rockchip: return 0 if tx_buf and rx_buf are NULL

2014-08-13 Thread Addy Ke
To do so, spi communication can use an empty buf to pull up CS. This patch merged from ChromiumOS tree. Cros_ec use this function to turn off CS and add a delay to ensure the rising edge doesn't come too soon after the end of the data. Tested-by: Doug Anderson Signed-off-by: Doug Anderson Signe