Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2776244rwb; Fri, 9 Dec 2022 06:16:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf6fgn44MD3X8gCBAqEJ/Jr3rOUeE5RgAYYQj0yyBew4jXj+3VwBf0Iqpr655PU+qpdRAqEx X-Received: by 2002:aa7:81cb:0:b0:56b:e473:514 with SMTP id c11-20020aa781cb000000b0056be4730514mr5851483pfn.2.1670595411438; Fri, 09 Dec 2022 06:16:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670595411; cv=none; d=google.com; s=arc-20160816; b=tpW/OQML8bYAvAFep1XgariskPkjnmQUvlcyhB69yYYOECa/GL92C7kQ+an20iu0t0 VDJ0GcQJxl3nfV49KpJRiTDUDdiO0PzlVYvSP7P35pQ+DdhHGnu08+GuLcapEiexX1dQ ShcAM1VBPdRjJ57YrcyAqdWxqpljSxiTp0rwWOgpPPoOqCvumWJpRDqLs1NrzluBYaU9 NAg/C/1tWP4HvgcDM49MHWMrlVBPOx+7kFfhsn2y0ju9RgshqvVz0r7hQ9kZhilw97sH nP+W/8L1ga1LELr3VTalpeDPmueukt//MflNST1QCW5ycDEGK0/C8B0UkK8elD95j1EB x8gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DS00XX3OwWhCIUDeaOeJh4qp8EF6ncVjiElbUdhN0ZQ=; b=x6Vws22nwXTK8wWZAnz2zSwmKSpZUyrMd46/Ev1AT7pIfoeEThqrIfNQHXzLnm+J8j f9r7WAcTDH8eoblrZJCAOvzfx45i5JDTFTzhCjvVNUaxJo7MN/bB3lowOnLh7ducjZRB qV1E+AgCr++13c1MhNDXyJrcDAzqMwLtt71ZYCs75w4alEAT4TgTI235wZT3ZndXHTvq fSrcO7e47RRi2tkqQU054d0j+2t8U6TkkGMUkT05mjM4hUai9rQyfLfHWM6+IJZDjZs7 7IK8MC/IHItzVPVq757sncO95WynI/hHaKPoQKgEs6vzLg0Wkqq26FFY4Ps4DwYCvZSW TWVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hgww7odz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cd14-20020a056a00420e00b005726e8b1cedsi1681542pfb.345.2022.12.09.06.16.39; Fri, 09 Dec 2022 06:16:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hgww7odz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbiLIOEX (ORCPT + 76 others); Fri, 9 Dec 2022 09:04:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiLIOET (ORCPT ); Fri, 9 Dec 2022 09:04:19 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 364146C731; Fri, 9 Dec 2022 06:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670594658; x=1702130658; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xRDLAgO0B0bki/4vlcUzPPWeDY+4XUKMNAA2OHnB5WI=; b=hgww7odzgNhDbqQfsW4qopKa2e69Upb9NZXuOz7yh9HHJ/UC3vmQ29TC N2U9I/XGq9rzo7AAuB5XKpXIo+sjDcOxWmvDk7/Abuk3nqdgRCg8vXRw9 tHRtw2DjenpvKf17CiaNKljLPEt3wGHK4vj6rLTvK6EX5f5hzoti85QeL EpR7GBnuRbJIli7LZ1w0MaRAbSp+6sru4T7ICPI/m9OnZCSrxiD2qJB7H Hh/6T+hLbK1/yKaSr5M49eygbNCyfp/Jufq+DYFov6qGbhu5o9nWkFLYK kxm4VxDSIDVcRRcE8vjga0GVyqTbsRBkX+FtXss6AcSr/j9WukWA48gBt A==; X-IronPort-AV: E=McAfee;i="6500,9779,10556"; a="305105839" X-IronPort-AV: E=Sophos;i="5.96,230,1665471600"; d="scan'208";a="305105839" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2022 06:04:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10556"; a="678159905" X-IronPort-AV: E=Sophos;i="5.96,230,1665471600"; d="scan'208";a="678159905" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga008.jf.intel.com with ESMTP; 09 Dec 2022 06:04:14 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1p3dz3-006yRX-0f; Fri, 09 Dec 2022 16:04:13 +0200 Date: Fri, 9 Dec 2022 16:04:12 +0200 From: Andy Shevchenko To: Hans de Goede Cc: Richard Fitzgerald , wsa@kernel.org, jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, jsd@semihalf.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH] i2c: designware: Fix unbalanced suspended flag Message-ID: References: <20221209114034.18025-1-rf@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 09, 2022 at 01:15:21PM +0100, Hans de Goede wrote: > On 12/9/22 12:40, Richard Fitzgerald wrote: ... > Did you add printk messages to the suspend/resume callbacks of > i2c-designware-platdrv.c which show the system suspend callback > being called but not the system resume one ? Side note: It's better to use ftrace for that, less invasive time-wise. ... > Did you add a printk to both the if + else paths > and have you ever seen the controller not get > resumed with this test added ? -- With Best Regards, Andy Shevchenko