Commit ff13a9a6 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'spi/fix/core' into spi-linus

parents b098d672 0b73aa63
...@@ -591,7 +591,6 @@ static int spi_transfer_one_message(struct spi_master *master, ...@@ -591,7 +591,6 @@ static int spi_transfer_one_message(struct spi_master *master,
struct spi_message *msg) struct spi_message *msg)
{ {
struct spi_transfer *xfer; struct spi_transfer *xfer;
bool cur_cs = true;
bool keep_cs = false; bool keep_cs = false;
int ret = 0; int ret = 0;
...@@ -627,8 +626,9 @@ static int spi_transfer_one_message(struct spi_master *master, ...@@ -627,8 +626,9 @@ static int spi_transfer_one_message(struct spi_master *master,
&msg->transfers)) { &msg->transfers)) {
keep_cs = true; keep_cs = true;
} else { } else {
cur_cs = !cur_cs; spi_set_cs(msg->spi, false);
spi_set_cs(msg->spi, cur_cs); udelay(10);
spi_set_cs(msg->spi, true);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment