Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131585
b: refs/heads/master
c: 01b24fe
h: refs/heads/master
i:
  131583: 6e8b1d1
v: v3
  • Loading branch information
Michael Buesch authored and Linus Torvalds committed Feb 21, 2009
1 parent 5641c78 commit f750da0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6fcba7014f9cc535fa75ef98c008b24e49e2212
refs/heads/master: 01b24fee285b098c74318a8be801ef3711ec18d7
7 changes: 7 additions & 0 deletions trunk/include/linux/spi/spi_bitbang.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ extern int spi_bitbang_stop(struct spi_bitbang *spi);
* 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).
Expand Down

0 comments on commit f750da0

Please sign in to comment.