Skip to content

Commit

Permalink
spi: Keep chipselect assertion during one message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kyoungil Kim authored and Grant Likely committed Dec 15, 2012
1 parent 4939e27 commit 6f38010
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/spi/spi-s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f38010

Please sign in to comment.