From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: [PATCH 0/4] Switch ads7846 driver to use soft irq Date: Fri, 17 Sep 2010 09:48:37 +0800 Message-ID: <4C92C8F5.7000406@gmail.com> References: <1284634286-8871-1-git-send-email-jason77.wang@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.windriver.com ([147.11.1.11]:51904 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186Ab0IQBpC (ORCPT ); Thu, 16 Sep 2010 21:45:02 -0400 In-Reply-To: <1284634286-8871-1-git-send-email-jason77.wang@gmail.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Jason Wang Cc: dmitry.torokhov@gmail.com, notasas@gmail.com, vapier@gentoo.org, linux-input@vger.kernel.org Sorry for using soft irq here, should be *thread irq*. Jason Wang wrote: > Some explanations: > > The first patch is from dmitry, he build a frame work for this driver > to use soft irq. The remaining 3 patches are from me to fix some issues > for the driver of soft irq verison. > > We change this driver to use soft irq because under current version, > we must use spin lock to protect racing issues, the regulator > operations are also in the racing issue list but we can't put it > in the spin lock protected area because regulator operations always > implement via i2c/spi transfers, in those transfers often call sleep > funcitons. Now change to use soft irq, we can use mutex instread of > spin lock, so this issue is solved. > > I have tested these patches on the ti_omap3530evm board: > 1)use ts_lib after normal boot > 2)use ts_lib after "#echo 1/0 > /sys/bus/spi/devices/spi0.1/disable" > 3)use ts_lib after "#echo mem > /sys/power/state" and "wake up" > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-input" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >