2 Nov 2009 13:13
Re: [spi-devel-general] [PATCH] trivial: some fixes in spi documentation
Wolfram Sang <w.sang <at> pengutronix.de>
2009-11-02 12:13:34 GMT
2009-11-02 12:13:34 GMT
Hi, the typo fixes look good, still... On Fri, Oct 30, 2009 at 07:28:14PM -0200, Thadeu Lima de Souza Cascardo wrote: > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo <at> holoscopio.com> > --- > Documentation/spi/spi-summary | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary > index deab51d..607aa97 100644 > --- a/Documentation/spi/spi-summary > +++ b/Documentation/spi/spi-summary > <at> <at> -121,7 +121,7 <at> <at> active. So the master must set the clock to inactive before selecting > a slave, and the slave can tell the chosen polarity by sampling the > clock level when its select line goes active. That's why many devices > support for example both modes 0 and 3: they don't care about polarity, > -and alway clock data in/out on rising clock edges. > +and always clock data in/out on rising clock edges. > > > How do these driver programming interfaces work? > <at> <at> -236,7 +236,7 <at> <at> And SOC-specific utility code might look something like: > struct mysoc_spi_data *pdata2; > > pdata2 = kmalloc(sizeof *pdata2, GFP_KERNEL); > - *pdata2 = pdata; > + *pdata2 = *pdata;(Continue reading)
. I
believed that it was really bad idea at that point, but because I
could not find piece of documentation recommending them, I lost the
argument.
Pavel
RSS Feed