Skip to content

Commit

Permalink
Merge remote-tracking branch 'spi/fix/core' into spi-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Mar 30, 2014
2 parents b098d67 + 0b73aa6 commit ff13a9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/spi/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ static int spi_transfer_one_message(struct spi_master *master,
struct spi_message *msg)
{
struct spi_transfer *xfer;
bool cur_cs = true;
bool keep_cs = false;
int ret = 0;

Expand Down Expand Up @@ -627,8 +626,9 @@ static int spi_transfer_one_message(struct spi_master *master,
&msg->transfers)) {
keep_cs = true;
} else {
cur_cs = !cur_cs;
spi_set_cs(msg->spi, cur_cs);
spi_set_cs(msg->spi, false);
udelay(10);
spi_set_cs(msg->spi, true);
}
}

Expand Down

0 comments on commit ff13a9a

Please sign in to comment.