Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750795AbVLMMSj (ORCPT ); Tue, 13 Dec 2005 07:18:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750836AbVLMMSj (ORCPT ); Tue, 13 Dec 2005 07:18:39 -0500 Received: from rtsoft2.corbina.net ([85.21.88.2]:22198 "HELO mail.dev.rtsoft.ru") by vger.kernel.org with SMTP id S1750795AbVLMMSi (ORCPT ); Tue, 13 Dec 2005 07:18:38 -0500 Subject: Re: [spi-devel-general] Re: [PATCH 2.6-git 0/4] SPI core refresh From: dmitry pervushin To: Rui Sousa Cc: Vitaly Wool , Linux Kernel Mailing List , David Brownell , basicmark@yahoo.com, komal_shah802003@yahoo.com, stephen@streetfiresound.com, spi-devel-general@lists.sourceforge.net, Joachim_Jaeger@digi.com In-Reply-To: <1134410498.12925.8.camel@localhost.localdomain> References: <20051212182026.4e393d5a.vwool@ru.mvista.com> <1134410498.12925.8.camel@localhost.localdomain> Content-Type: text/plain Date: Tue, 13 Dec 2005 15:09:24 +0300 Message-Id: <1134475765.1590.2.camel@fj-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 18 On Mon, 2005-12-12 at 19:01 +0100, Rui Sousa wrote: > How do you handle IRQ's generated by a SPI device (e.g ack the > interrupt, check if it was the SPI device that generated the > interrupt, ...) if you can't read/write on the SPI bus from interrupt > context? Hmm... what do you mean by "cannot read/write" ? Normally you can write/read registers in interrupt context, and then set the flag/complete the completion/what else ? In other words, could you please share the code that causes problems ? -- cheers, dmitry pervushin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/