[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130703180657.GF26568@mwesterb-mobl.lan>
Date: Wed, 3 Jul 2013 21:06:57 +0300
From: Mika Westerberg <mika.westerberg@....fi>
To: H Hartley Sweeten <hartleys@...ionengravers.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
spi-devel-general@...ts.sourceforge.net,
Ryan Mallon <rmallon@...il.com>, broonie@...nel.org,
grant.likely@...aro.org, hsweeten@...ionengravers.com
Subject: Re: [PATCH v2 07/11] spi: spi-ep93xx: remove 'dss' from per chip
private data
On Tue, Jul 02, 2013 at 10:09:29AM -0700, H Hartley Sweeten wrote:
> This value is only needed to set the bits per word for each transfer
> of a message. There is no reason to set the value in ep93xx_spi_enable()
> because ep93xx_spi_process_transfer() sets it again for each transfer.
>
> Just pass the t->bits_per_word directly to ep93xx_spi_chip_setup() in
> ep93xx_spi_process_transfer() and remove 'dss' from the per chip private
> data.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
> Cc: Ryan Mallon <rmallon@...il.com>
> Cc: Mika Westerberg <mika.westerberg@....fi>
Acked-by: Mika Westerberg <mika.westerberg@....fi>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists