From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] spi: sc18is602: Move checking chip_select for SC18IS602 to sc18is602_setup Date: Tue, 11 Feb 2014 08:14:41 -0800 Message-ID: <20140211161441.GA11606@roeck-us.net> References: <1392123257.1351.9.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark Brown , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Axel Lin Return-path: Content-Disposition: inline In-Reply-To: <1392123257.1351.9.camel@phoenix> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Tue, Feb 11, 2014 at 08:54:17PM +0800, Axel Lin wrote: > So it will be checked when spi device is added onto the spi bus. > spi_add_device() calls spi_setup() which then calls spi->master->setup(). > No need to check it every time sc18is602_transfer_one() is called. > > Signed-off-by: Axel Lin Acked-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html