From: Vitaly Wool <vwool@dev.rtsoft.ru>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC] SPI core -- revisited
Date: Mon, 27 Jun 2005 07:39:06 +0400 [thread overview]
Message-ID: <42BF74DA.6040202@dev.rtsoft.ru> (raw)
In-Reply-To: <200506270049.10970.adobriyan@gmail.com>
Alexey Dobriyan wrote:
>> +static void *phys_spi_data_reg = 0;
>>
>
>
> NULL for pointers.
>
>
>
>> +void spipnx_select_chip (void)
>> +{
>> + unsigned reg = gpio_read_reg (PADMUX1_MODE0);
>> + gpio_write_reg ((reg & ~GPIO_PIN_SPI_CE), PADMUX1_MODE0); }
>>
>
>
> Closing brackets on the separate line, _please_.
>
>
>
>> +static void spipnx_spi_init (void *algo_data) {
>>
>
>
> As well as opening ones.
>
>
>
>> --- /dev/null
>> +++ linux-2.6.10/drivers/spi/spi-pnx010x_atmel.c
>>
>
>
>
>
Hm, as far as I understand, this patch is not intended to become a part
of kernel; neither it is posted to go through a formal review. It's just
an example usage of the SPI core, isn't it?
What I would like to see, however, is dealing with the scatter-gather
lists. I guess this should be in algorithm, isn't it?
next prev parent reply other threads:[~2005-06-27 3:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-26 19:36 [RFC] SPI core -- revisited dpervushin
2005-06-26 20:49 ` Alexey Dobriyan
2005-06-26 20:59 ` Arjan van de Ven
2005-06-27 3:37 ` Vitaly Wool
2005-06-27 8:28 ` Arjan van de Ven
2005-06-27 9:13 ` Vitaly Wool
2005-06-27 9:20 ` Russell King
2005-06-27 10:20 ` Vitaly Wool
2005-06-28 16:49 ` Greg KH
2005-06-27 3:39 ` Vitaly Wool [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-06-23 12:18 dmitry pervushin
2005-06-23 15:50 ` Jamey Hicks
2005-06-23 16:43 ` Russell King
2005-06-24 12:56 ` Jamey Hicks
2005-06-23 21:59 ` Jean Delvare
2005-06-24 0:35 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42BF74DA.6040202@dev.rtsoft.ru \
--to=vwool@dev.rtsoft.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox