From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH V1 2/2] i2c: tegra: notify transfer-complete after clearing status. Date: Mon, 07 May 2012 10:19:52 -0600 Message-ID: <4FA7F628.602@wwwdotorg.org> References: <1336373179-12739-1-git-send-email-ldewangan@nvidia.com> <1336373179-12739-3-git-send-email-ldewangan@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336373179-12739-3-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laxman Dewangan Cc: khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org, ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-i2c@vger.kernel.org On 05/07/2012 12:46 AM, Laxman Dewangan wrote: > The notification of the transfer complete by calling complete() > should be done after clearing all interrupt status. > This may avoid the race condition of misconfigure the i2c controller > in multi-core environment. > > Signed-off-by: Laxman Dewangan Acked-by: Stephen Warren This patch appears to be independent from the first patch in the series, so I assume can be checked in immediately.