The patch titled spi_bitbang: add more lowlevel function documentation has been removed from the -mm tree. Its filename was spi_bitbang-add-more-lowlevel-function-documentation.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: spi_bitbang: add more lowlevel function documentation From: Michael Buesch <mb@xxxxxxxxx> This adds more documentation of the lowlevel API to avoid future bugs. Signed-off-by: Michael Buesch <mb@xxxxxxxxx> Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/spi/spi_bitbang.h | 7 +++++++ 1 file changed, 7 insertions(+) diff -puN include/linux/spi/spi_bitbang.h~spi_bitbang-add-more-lowlevel-function-documentation include/linux/spi/spi_bitbang.h --- a/include/linux/spi/spi_bitbang.h~spi_bitbang-add-more-lowlevel-function-documentation +++ a/include/linux/spi/spi_bitbang.h @@ -83,6 +83,13 @@ extern int spi_bitbang_stop(struct spi_b * int getmiso(struct spi_device *); * void spidelay(unsigned); * + * setsck()'s is_on parameter is a zero/nonzero boolean. + * + * setmosi()'s is_on parameter is a zero/nonzero boolean. + * + * getmiso() is required to return 0 or 1 only. Any other value is invalid + * and will result in improper operation. + * * A non-inlined routine would call bitbang_txrx_*() routines. The * main loop could easily compile down to a handful of instructions, * especially if the delay is a NOP (to run at peak speed). _ Patches currently in -mm which might be from mb@xxxxxxxxx are linux-next.patch bcm47xx-fix-gpio-api-return-codes.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html