From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH v3 2/2] input: add driver support for MAX8997-haptic Date: Wed, 14 Mar 2012 08:48:28 -0700 Message-ID: <20120314154828.GA24964@core.coreip.homeip.net> References: <4F5DB459.9090701@samsung.com> <20120314084652.GC3964@core.coreip.homeip.net> <4F60AF8E.7050900@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:60592 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756141Ab2CNPsf (ORCPT ); Wed, 14 Mar 2012 11:48:35 -0400 Content-Disposition: inline In-Reply-To: <4F60AF8E.7050900@samsung.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Chanwoo Choi Cc: linux-input@vger.kernel.org, sameo@linux.intel.com, broonie@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org, kyungmin.park@samsung.com, myungjoo.ham@samsung.com On Wed, Mar 14, 2012 at 11:47:42PM +0900, Chanwoo Choi wrote: > Hi Dmitry, > > > This is not proper locking between playing effect and suspend. Now that > > you are using workqueue you need to synchronize access with it, not with > > play_effect method. > > > > Does the following patch work for you? > > > > Your patch is worked on TRATS board based on EXYNOS4210 but, you should > apply following patch because 'chip->enabled' is used on > max8997_haptic_configure() function to enable/disable haptic motor. OK, excellent. I'll pick up this fix and apply the driver for 3.4 queue, thanks! -- Dmitry