From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] spi: Remove duplicate code to set default bits_per_word setting Date: Fri, 17 Jan 2014 06:25:12 -0800 Message-ID: <52D93D48.9050007@roeck-us.net> References: <1389956020.6412.5.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Matt Porter , Alison Wang , Chao Fu , Marek Vasut , Yoshihiro Shimoda , Barry Song , Tomoya MORINAGA , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Axel Lin , Mark Brown Return-path: In-Reply-To: <1389956020.6412.5.camel@phoenix> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On 01/17/2014 02:53 AM, Axel Lin wrote: > The implementation in spi_setup() already set spi->bits_per_word = 8 when > spi->bits_per_word is 0 before calling spi->master->setup. > So we don't need to do it again in setup() callback. > > Cc: Matt Porter > Cc: Alison Wang > Cc: Chao Fu > Cc: Marek Vasut > Cc: Yoshihiro Shimoda > Cc: Guenter Roeck For spi-sc18is602.c: 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