From: Peter Korsgaard Subject: Re: [PATCH] SPI: McSPI: fix D0/D1 direction confusion Date: Tue, 13 Nov 2012 14:37:19 +0100 Message-ID: <87a9ulaak0.fsf@dell.be.48ers.dk> References: <1352797555-30145-1-git-send-email-zonque@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org, rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org To: Daniel Mack Return-path: In-Reply-To: <1352797555-30145-1-git-send-email-zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> (Daniel Mack's message of "Tue, 13 Nov 2012 17:05:55 +0800") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org >>>>> "Daniel" == Daniel Mack writes: Daniel> 0384e90b8 ("spi/mcspi: allow configuration of pin directions") did what Daniel> it claimed to do the wrong way around. D0/D1 is configured as output by Daniel> *clearing* the bits in the conf registers, hence also breaking the Daniel> former default behaviour. Daniel> Fix this before that change is merged to mainline. Daniel> Signed-off-by: Daniel Mack Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov