From: Kyoungil Kim Date: Wed, 23 May 2012 12:34:06 +0000 (+0900) Subject: spi: Keep chipselect assertion during one message X-Git-Tag: v3.8-rc1~41^4~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f38010d54a9dfd4b9c9e49a7184f84cc2281605;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git spi: Keep chipselect assertion during one message 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 Signed-off-by: Grant Likely --- diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 4dd7b7c..88c3f5e 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -771,8 +771,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;