Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3653191imm; Mon, 20 Aug 2018 02:23:01 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzFjEB5fOWJsNsdYNjJVPGMUGOqp1DxpihXQ3lIBet+bcIm0s7+wF8bNVDgSo5twWrOjuih X-Received: by 2002:a63:81c3:: with SMTP id t186-v6mr7420530pgd.285.1534756981550; Mon, 20 Aug 2018 02:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534756981; cv=none; d=google.com; s=arc-20160816; b=w5bT69sJYuImIF+aJcwg6dzKzNHlPWGdJOOlY4ngI+fcwcK6IDfNS1kRVmkfd/o5gX PUjb3U6f5YifUW/EkR64hoqlf93KOwYRoaSaWD2+N9wSXjOqZa2ga0Q+IfEHAeo2R27F x3APlfhosdBRsefhHq8cX1/7Fu1T9rXF1oUYEKoR1NS82y7bp/mFmHU1qRFTzssIsRg1 Iky/1hCU3tkkrOTZD7494w2TTzxR29zh2tyvW0b9XWyZPSOAA8mbuyACmBp7ybL/TIlC 6k5KV+pEtWdOz7SmFUoa1oWFVSIUhTleLNAIQiDGurENCVbbDSVueepxLOEB3QJVuiUW TfLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:user-agent:references:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=n74IuMkDSDZTyVw8b/r+ENWCGBPVgPV4omw9MsI7euk=; b=WX2cKk32dwmLBCzFdC4v1pDaxZUjq1Pdqk/t2K1Q61dZ6rG7aus1WIwtUX657MaTU+ dxcI+C0PoR/1VtAz1JDnNccMma9QCEtoHlbHpEGv69VKGHIBcNYoimsQ5xgUKqkc6dwT hNOaG71NvGGWtd50P71+EQUPjnW9v5Y8jaIOtDy7k8+s4ZrlgCwINHCsc1bRKZ0OMe+l IRpK/xdobbVjDLFoRxoBM2YNpzYTyn3ikUSn8cbDglSsRRxyqdHObCeKGw/crgt7JD96 NJigy9MtHYV+By4rcO1bT/nT3/wwkoP0sQ2DSCTBKy1ftzmj8fXmjhhdPVpu7K+yXkek tWjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bT2764uV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m76-v6si9577434pfg.323.2018.08.20.02.22.46; Mon, 20 Aug 2018 02:23:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bT2764uV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726585AbeHTMfj (ORCPT + 99 others); Mon, 20 Aug 2018 08:35:39 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:40985 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbeHTMfj (ORCPT ); Mon, 20 Aug 2018 08:35:39 -0400 Received: by mail-lf1-f66.google.com with SMTP id v22-v6so10366964lfe.8; Mon, 20 Aug 2018 02:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=n74IuMkDSDZTyVw8b/r+ENWCGBPVgPV4omw9MsI7euk=; b=bT2764uV2UvzuZXvwpc8treXl3fhp5wB20f5x3mZnPh98OjVIJqOpu47RUI5M0/xad 6kxhgB19bSf+F0WgvvrNlb6O/GbXnZdHYx8eQtuRbDEsq0a63Pq2js7VGAHr0GPoNRIQ jjcV6zroJtJy21D8aJTHeVKRvmS5R81LZO7GxdxJCWw374uvaDPw7vuwLeV50sXM+EHu U82UEXvTDL1NXyiNPlronYrV3oGqGNPcnzeKlytarOPSYW+K6gjcSSOkMv/JP59rYv6Q spqt6D6+n6455GtxRQmUKQWaL83VmNXxsZ8NrRuPhH42AANnnxGGMaLPqc9m3/kXP6NH l+Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=n74IuMkDSDZTyVw8b/r+ENWCGBPVgPV4omw9MsI7euk=; b=g47UWIxQ97OE6jokfhVOTtMhw2z/ZWi69JT0ozOGJTvhLi+sSx7VzXOddof+D6KAcO 4bCLdZ3ezvdUp4lKWb4qrn+RruZlrECI3VeDglxDVwxupNHkALiUH3CQLCKbCoKteOde AKEdUeDBwqePbkGC8V+9p7+9ceV7HHhDk/OLTdRNgIxu8k4Kwgv6B9WKUJg+atqdvgTZ GH1IhQlyy28tzBSc+E1hAy3cjRbK6FfCDM03iULnFYekniibaGAw288jgK+TL3vKoCgl +aeTT24iOxyc8lJ41tZrsCBE5/oA1XjiPIWI6ZKbBs7pVoWyq8gDoGIFfjl9gS3Nl2Q+ 1Wow== X-Gm-Message-State: AOUpUlHAA3dx/NjPZn4rSHOyzhXNZ0AkV3JmrTwaBmpWBRHEN7KVVmTR C9/2JWlYmwEdAp/SU9/BTEo6IeZS X-Received: by 2002:a19:ded7:: with SMTP id i84-v6mr13080634lfl.146.1534756846762; Mon, 20 Aug 2018 02:20:46 -0700 (PDT) Received: from localhost ([87.54.42.112]) by smtp.gmail.com with ESMTPSA id f9-v6sm1520382ljf.9.2018.08.20.02.20.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Aug 2018 02:20:46 -0700 (PDT) From: Esben Haabendal To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Wolfram Sang , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Lucas Stach , Philipp Zabel , Linus Walleij , Phil Reid , Peter Rosin , Fabio Estevam , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/3] i2c: imx: Simplify stopped state tracking In-Reply-To: <20180820091413.ranx7smh3f3swvvc@ninjato> (Wolfram Sang's message of "Mon, 20 Aug 2018 11:14:13 +0200") References: <20180816084315.7857-1-esben.haabendal@gmail.com> <20180816084315.7857-3-esben.haabendal@gmail.com> <20180820091413.ranx7smh3f3swvvc@ninjato> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Mon, 20 Aug 2018 11:20:44 +0200 Message-ID: <874lfpiec3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wolfram Sang writes: > On Thu, Aug 16, 2018 at 10:43:13AM +0200, Esben Haabendal wrote: >> From: Esben Haabendal >>=20 >> Always update the stopped state when busy status have been checked. >> This is identical to what was done before, with the exception of error >> handling. >> Without this change, some errors cause the stopped state to be left in >> incorrect state in i2c_imx_stop(), i2c_imx_dma_read(), i2c_imx_read() and >> i2c_imx_xfer(). >>=20 >> Signed-off-by: Esben Haabendal >> Acked-by: Uwe Kleine-K=C3=B6nig > > Applied to for-next, thanks! I did not add stable because the cover > latter said minor issue? Not really sure here, though... I agree, it does not need to go into stable. /Esben