Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp319525imu; Mon, 10 Dec 2018 22:47:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/UufmcgQvMnJtPuSGmyImCLTSnhNm4bLrAM5S1ErgZ7rsFcG+/nAmYMP8P7L94o5Kql2xIO X-Received: by 2002:a63:da45:: with SMTP id l5mr13727096pgj.111.1544510852332; Mon, 10 Dec 2018 22:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544510852; cv=none; d=google.com; s=arc-20160816; b=t6epUKd274ELZchv3tMAFQwvpW2czUiryzO9lj2r72/wQ/v6dIOT/TJvJ+FolDHXKF +U1QZVasGB+Gc8c6Use5Np6j4/qlE4WSQ3iUzO72G21E4fNQyWmQaoo5vufBI+yqgF2q SIg4Rbz7S21TblVCwVB9cHcORNzlftH8p3sCkauwBG7BiFoVkF0g2SZks7ellkOSlGNr TC4O733oYUTz8apBlfwvkZtSLqGmbn8hTaUYL/0z+v9OKaFgX6ONUV4w1Looz02xNAtl 308DbgWkI7duXhcoejTjM0PO5VVMn7kP2mkloEMYeH4hfL3SYq0kErTnbAf3Oqz/o9Yl knKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Cp/82wRS75TdoDaCx5+SYRBNhvoWegGY9ZhMIxi2UOc=; b=KhhKwXennw6e0UapyA83hCcX7mql7IwGY7oPZnnHsnWNjOub/pz6gbMBK9k2B2MLSr JxKvvwplYFPI/1rSvCWqLZHAkqbkqysAcqlD8NjJItJ2aLLkKh3a7QM/mr/isuFouYRb xcc/cv6SsxJyYXPNbhmCkEoNDMzCcnDHoLhtStDn7N05DHLFunYpyNTWvA9k5vEF6Loy rh1BIfCxqAHZvlVz2fnd2PVOzo5ZKFUpFbzcYoImSuN4/EZWN4TcOw9I7XFxToJM9xF2 VQZ6OS+oEb8KKcXf6p702oXyQs1kyi+8aDGwWpyYGQifJcbWAPkF/HWeMtXWXeouJUp7 CrQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wux8QDHH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc16si12818504plb.377.2018.12.10.22.47.17; Mon, 10 Dec 2018 22:47:32 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=Wux8QDHH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729565AbeLKCNA (ORCPT + 99 others); Mon, 10 Dec 2018 21:13:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:43178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727485AbeLKCNA (ORCPT ); Mon, 10 Dec 2018 21:13:00 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 815F820672; Tue, 11 Dec 2018 02:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544494379; bh=1OSvtFaQq6P1XEzWAYQcCvidSvCuOqcP/zeyayT5R/4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wux8QDHHAwXG7XertLHqx8AaFDNfDFGgirzfr1QUFIxq8I5pkfOw1gBdR0WCw/tD3 q5nwhqqalXbW3MuBcOOeb5UqRswO9L8r9h3Th20hV3L8TL9OFrOpVzzIQ96xmt9CfD eNHzr0+68KHq4hY/Vp0vDhEa23Ku6n2uVT4uhBa4= Date: Tue, 11 Dec 2018 10:12:06 +0800 From: Shawn Guo To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Hans de Goede , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jun Nie , linux-kernel@vger.kernel.org Subject: Re: [RFC/RFT 05/10] i2c: zx2967: use core helper to mark adapter suspended Message-ID: <20181211021205.GS3987@dragon> References: <20181210210310.12677-1-wsa+renesas@sang-engineering.com> <20181210210310.12677-6-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181210210310.12677-6-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 10, 2018 at 10:03:03PM +0100, Wolfram Sang wrote: > Rejecting transfers should be handled by the core. Also, this will > ensure proper locking which was forgotten in this open coded version > and make sure resume mark is set after enabling clocks (not before). > > Signed-off-by: Wolfram Sang Acked-by: Shawn Guo