From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH v5 01/16] spi/spi-atmel: fix master->num_chipselect wrongly set. Date: Sat, 02 Mar 2013 23:15:35 +0000 Message-ID: <20130302231535.8E6043E35BE@localhost> References: <1361861289-30332-1-git-send-email-wenyou.yang@atmel.com> <1361861289-30332-2-git-send-email-wenyou.yang@atmel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: richard.genoud@gmail.com, JM.Lin@atmel.com, nicolas.ferre@atmel.com, linux-kernel@vger.kernel.org, wenyou.yang@atmel.com, spi-devel-general@lists.sourceforge.net, plagnioj@jcrosoft.com To: Wenyou Yang , linux-arm-kernel@lists.infradead.org Return-path: In-Reply-To: <1361861289-30332-2-git-send-email-wenyou.yang@atmel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: linux-spi.vger.kernel.org On Tue, 26 Feb 2013 14:47:54 +0800, Wenyou Yang wrote: > if the spi property "cs-gpios" is set as below: > > cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; > > the master->num_chipselect will wrongly be set to 0, > and the spi fail to probe. > > Signed-off-by: Wenyou Yang > Cc: spi-devel-general@lists.sourceforge.net > Cc: linux-kernel@vger.kernel.org I think I've got this bug fixed in the core spi code. Give it a couple of days and retest with linux-next. g.