From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] spi: sc18is602: Convert to use bits_per_word_mask Date: Fri, 17 Jan 2014 06:25:39 -0800 Message-ID: <52D93D63.3060105@roeck-us.net> References: <1389952842.6412.1.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Axel Lin , Mark Brown Return-path: In-Reply-To: <1389952842.6412.1.camel@phoenix> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On 01/17/2014 02:00 AM, Axel Lin wrote: > Since commit 543bb25 "spi: add ability to validate xfer->bits_per_word in SPI > core", the driver can set bits_per_word_mask for the master then the SPI core > will reject transfers that attempt to use an unsupported bits_per_word value. > So we can remove the bits_per_word checking in sc18is602_check_transfer() and > let SPI core handle the checking. > > 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