Commit 202b883f authored by Imre Deak's avatar Imre Deak Committed by Juha Yrjola

ARM: OMAP: uWire RX error fix

The RX path maintained the number of received bytes incorrectly causing
the transmission to be aborted.
Signed-off-by: default avatarImre Deak <imre.deak@nokia.com>
Signed-off-by: default avatarJuha Yrjölä <juha.yrjola@nokia.com>
parent 07f4f047
......@@ -274,7 +274,7 @@ static int uwire_txrx(struct spi_device *spi, struct spi_transfer *t)
*buf++ = (u8) val;
if (bytes == 2)
*buf++ = val >> 8;
status += len;
status += bytes;
#ifdef VERBOSE
pr_debug("%s: read-%d =%04x\n",
spi->dev.bus_id, bits, val);
......
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