aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorKyoungil Kim <ki0351.kim@samsung.com>2012-05-23 08:34:06 -0400
committerGrant Likely <grant.likely@secretlab.ca>2012-12-14 19:49:33 -0500
commit6f38010d54a9dfd4b9c9e49a7184f84cc2281605 (patch)
tree4247b1f65bc31a065fa625ab2f7dc082752055cc /drivers/spi
parent4939e27d46fee2609f2112f85f7f7cbd952075dc (diff)
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 <ki0351.kim@samsung.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-s3c64xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 4dd7b7ce5c5a..88c3f5e51c36 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,
771 if (list_is_last(&xfer->transfer_list, 771 if (list_is_last(&xfer->transfer_list,
772 &msg->transfers)) 772 &msg->transfers))
773 cs_toggle = 1; 773 cs_toggle = 1;
774 else
775 disable_cs(sdd, spi);
776 } 774 }
777 775
778 msg->actual_length += xfer->len; 776 msg->actual_length += xfer->len;