Re: [PATCH] spi: Keep chipselect assertion during one message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 May 2012 21:34:06 +0900, Kyoungil Kim <ki0351.kim@xxxxxxxxxxx> wrote:
> During all transfers in one message, the device will not be chagned.
> So we don't need to deassert chipselect during one message.
> 
> Signed-off-by: Kyoungil Kim <ki0351.kim@xxxxxxxxxxx>

Applied, thanks.

g.

> ---
>  drivers/spi/spi-s3c64xx.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
> index 972a94c..0f79f5b 100644
> --- a/drivers/spi/spi-s3c64xx.c
> +++ b/drivers/spi/spi-s3c64xx.c
> @@ -745,8 +745,6 @@ static int s3c64xx_spi_transfer_one_message(struct spi_master *master,
>  			if (list_is_last(&xfer->transfer_list,
>  						&msg->transfers))
>  				cs_toggle = 1;
> -			else
> -				disable_cs(sdd, spi);
>  		}
>  
>  		msg->actual_length += xfer->len;
> -- 
> 1.7.1
> 
> 

-- 
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies, Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux