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>
This commit is contained in:
parent
b17de07606
commit
737a7c4380
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue