Browse Source

spi/mips-lantiq: make use of spi_finalize_current_message

Rather than calling m->complete() directly we choose the sane way and call
spi_finalize_current_message instead.

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
John Crispin 12 years ago
parent
commit
737a7c4380
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/spi/spi-falcon.c

+ 1 - 1
drivers/spi/spi-falcon.c

@@ -398,7 +398,7 @@ static int falcon_sflash_xfer_one(struct spi_master *master,
 	}
 
 	m->status = ret;
-	m->complete(m->context);
+	spi_finalize_current_message(master);
 
 	return 0;
 }