spi: Keep chipselect assertion during one message
authorKyoungil Kim <ki0351.kim@samsung.com>
Wed, 23 May 2012 12:34:06 +0000 (21:34 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 15 Dec 2012 00:49:33 +0000 (00:49 +0000)
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>
drivers/spi/spi-s3c64xx.c

index 4dd7b7ce5c5a99d44f50cb6f7a351aa2bc611c1a..88c3f5e51c360bda8d5e0949b14a13878a092af2 100644 (file)
@@ -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;