Title: [7483] trunk/drivers/spi/spi_bfin5xx.c: fix bug [#5551] - check-in patch from Andrew Fomushkin ([email protected]).
- Revision
- 7483
- Author
- adamliyi
- Date
- 2009-09-28 04:25:57 -0400 (Mon, 28 Sep 2009)
Log Message
fix bug [#5551] - check-in patch from Andrew Fomushkin ([email protected]).
Modified Paths
Diff
Modified: trunk/drivers/spi/spi_bfin5xx.c (7482 => 7483)
--- trunk/drivers/spi/spi_bfin5xx.c 2009-09-28 08:23:33 UTC (rev 7482)
+++ trunk/drivers/spi/spi_bfin5xx.c 2009-09-28 08:25:57 UTC (rev 7483)
@@ -915,9 +915,9 @@
/* Someone has locked the bus */
if (drv_data->locked && next_cs != locked_cs) {
list_for_each_entry(msg, &drv_data->queue, queue) {
- chip = spi_get_ctldata(next_msg->spi);
- next_cs = next_msg->spi->chip_select ?
- next_msg->spi->chip_select : chip->cs_gpio;
+ chip = spi_get_ctldata(msg->spi);
+ next_cs = msg->spi->chip_select ?
+ msg->spi->chip_select : chip->cs_gpio;
if (next_cs == locked_cs) {
next_msg = msg;
break;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits