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>
This commit is contained in:
parent
4939e27d46
commit
6f38010d54
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user