Skip to content

Commit

Permalink
spi/mips-lantiq: make use of spi_finalize_current_message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Crispin authored and Grant Likely committed Feb 5, 2013
1 parent b17de07 commit 737a7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 737a7c4

Please sign in to comment.