linux-mips
[Top] [All Lists]

Re: [PATCH V4 16/17] SPI: MIPS: lantiq: add FALCON spi driver

To: John Crispin <blogic@openwrt.org>
Subject: Re: [PATCH V4 16/17] SPI: MIPS: lantiq: add FALCON spi driver
From: John Crispin <blogic@openwrt.org>
Date: Sun, 20 May 2012 15:21:22 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, Thomas Langer <thomas.langer@lantiq.com>, spi-devel-general@lists.sourceforge.net
In-reply-to: <1337520014-28787-1-git-send-email-blogic@openwrt.org>
References: <1337520014-28787-1-git-send-email-blogic@openwrt.org>
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
On 20/05/12 15:20, John Crispin wrote:
> +     master->mode_bits = SPI_MODE_3;
> +     master->num_chipselect = 1;
> +     master->bus_num = -1;
once
> +     master->setup = falcon_sflash_setup;
> +     master->prepare_transfer_hardware = falcon_sflash_prepare_xfer;
> +     master->transfer_one_message = falcon_sflash_xfer_one;
> +     master->unprepare_transfer_hardware = falcon_sflash_unprepare_xfer;
> +     master->dev.of_node = pdev->dev.of_node;
> +     master->bus_num = -1;
twice :-)

sorry ....

<Prev in Thread] Current Thread [Next in Thread>