From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH] spi: bitbang: reinitialize transfer parameters for every message Date: Sat, 3 Jul 2010 23:01:11 -0600 Message-ID: References: <1278084617-23027-1-git-send-email-bniebuhr@efjohnson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Brian Niebuhr Return-path: In-Reply-To: <1278084617-23027-1-git-send-email-bniebuhr-JaPwekKOx1yaMJb+Lgu22Q@public.gmane.org> 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 On Fri, Jul 2, 2010 at 9:30 AM, Brian Niebuhr wrote: > This patch fixes the setup_transfer logic to account for the case where > multiple messages to different SPI devices are in the queue simultaneously. > With the current logic, the second message in the queue will end up > using the transfer parameters for the previous message in the queue. > > The fix is to reinitialize the transfer parameters for each message > rather than only once on the first message. > > Signed-off-by: Brian Niebuhr Picked up, thanks. g. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first