| To: | Grant Likely <grant.likely@secretlab.ca> |
|---|---|
| Subject: | Re: [PATCH V5 16/17] SPI: MIPS: lantiq: add FALCON spi driver |
| From: | John Crispin <blogic@openwrt.org> |
| Date: | Sat, 26 May 2012 15:47:24 +0200 |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, spi-devel-general@lists.sourceforge.net, Thomas Langer <thomas.langer@lantiq.com> |
| In-reply-to: | <20120525233845.BD93C3E0BD2@localhost> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1337521579-1597-1-git-send-email-blogic@openwrt.org> <20120525233845.BD93C3E0BD2@localhost> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
> What exactly does this mean? How does it not support any other type
> of SPI peripheral? SPI is a really simple protocol, so what is it
> about this hardware that prevents it being used with other SPI
> hardware?
>
> I see a big state machine that appears to interpret the messages and
> pretend to be an SPI slave instead of telling linux about the real
> device. /me wonders if it should this instead be a block device
> driver?
>
Thomas will need to comment on this part
>> +static int falcon_sflash_prepare_xfer(struct spi_master *master)
>> +{
>> + return 0;
>> +}
>> +
>> +static int falcon_sflash_unprepare_xfer(struct spi_master *master)
>> +{
>> + return 0;
>> +}
> Don't use empty hooks. Just leave them uninitialized. The core will
> do the right thing.
>
I was under the impression that the need for these 2 callbacks was
removed in 3.5. As this patch flows via MIPS there would be a merge
order problem making the kernel non bisectable
I am a bit confused. You keep ack'ing this driver and then commenting on
it a few weeks later.... obsoleting the ACK ...
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH V5 16/17] SPI: MIPS: lantiq: add FALCON spi driver, Grant Likely |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: Add support for the MIPS32 4Kc family I/D caches., Maciej W. Rozycki |
| Previous by Thread: | Re: [PATCH V5 16/17] SPI: MIPS: lantiq: add FALCON spi driver, Grant Likely |
| Next by Thread: | RE: [PATCH V5 16/17] SPI: MIPS: lantiq: add FALCON spi driver, Langer Thomas (LQDE CPE AE SW) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |