From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH 01/14] ARM: orion: spi: remove enable_clock_fix which is not used Date: Thu, 08 Mar 2012 21:33:19 -0700 Message-ID: <20120309043319.316C93E0903@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: arnd-r2nGTMty4D4@public.gmane.org Cc: nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, andrew-g2DYL2Zd6BY@public.gmane.org, Jason Cooper , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, michael-QKn5cuLxLXY@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed, 7 Mar 2012 03:44:42 +0000, Jason Cooper wrote: > From: Andrew Lunn > > Signed-off-by: Andrew Lunn > Signed-off-by: Jason Cooper Acked-by: Grant Likely > --- > drivers/spi/spi-orion.c | 5 ----- > include/linux/spi/orion_spi.h | 1 - > 2 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/drivers/spi/spi-orion.c b/drivers/spi/spi-orion.c > index 13448c8..e496f79 100644 > --- a/drivers/spi/spi-orion.c > +++ b/drivers/spi/spi-orion.c > @@ -359,11 +359,6 @@ static int orion_spi_setup(struct spi_device *spi) > > orion_spi = spi_master_get_devdata(spi->master); > > - /* Fix ac timing if required. */ > - if (orion_spi->spi_info->enable_clock_fix) > - orion_spi_setbits(orion_spi, ORION_SPI_IF_CONFIG_REG, > - (1 << 14)); > - > if ((spi->max_speed_hz == 0) > || (spi->max_speed_hz > orion_spi->max_speed)) > spi->max_speed_hz = orion_spi->max_speed; > diff --git a/include/linux/spi/orion_spi.h b/include/linux/spi/orion_spi.h > index decf6d8..b4d9fa6 100644 > --- a/include/linux/spi/orion_spi.h > +++ b/include/linux/spi/orion_spi.h > @@ -11,7 +11,6 @@ > > struct orion_spi_info { > u32 tclk; /* no support yet */ > - u32 enable_clock_fix; > }; > > > -- > 1.7.3.4 > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies,Ltd.