Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6477374ybi; Wed, 5 Jun 2019 01:24:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmGz7m3j94afMhIir8rmz/ebMkgLob8du8PtavN60hsn/hQ6h8rUelJhZ8N3Y5IOd0sUdN X-Received: by 2002:a63:b00e:: with SMTP id h14mr2759104pgf.321.1559723093815; Wed, 05 Jun 2019 01:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559723093; cv=none; d=google.com; s=arc-20160816; b=QTfD5deOzePhbpj6Ix/ZzSsOFCHppU8ojx3bwEyaajszAwCK3V26qtw3wqO/N1mmR5 Uw4nnS8Nur+aSk3/vSxzQ4PLRrcahU6YkW/eoLJq2zvLjXFwuKYLDPrR68exJjjUabLu nSsjWAPavh7IcRrezNGwtKyzYWNPyqpfavAXrENyqH9sqgJOWFznuKHYnwkK4DZk/Q4t mbFNr5433+4uwJNsLGMnHfLb8P45gasJvIscsu+4ngJ+FSMFgSWoIRnIYma/pbErLq8E dHpsaDJG6XJznKIRTfIe203rsmKRsCb12Hc/rrndv81d391VxD/itBENMyZgLLhukI8k je5g== 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; bh=gzlrVbXU+icB0WmyAJ+QKl9Xq/9wQJF42kSNCv/Fndg=; b=bZBjJu5nFfr/LJfT4LBS2ddROV4MuKO5zqJqlDfWmBDLC3M2FM8XFrEG8sTeUfv8jy lx89TDQldasKeCY1V/s+ynkNKIUCCo6tUKeOcZstl2pD+kP2fEYB7z15a9qYn70FqbmP fft7mbXeXz6Tu9FJmdF7UCDKOFoDo0ee+zTb+JxVCySghVZ7W9Qp7vsJxTS9qcrCoP9B pjLQxSLuImWITdL8IEwCHnITmJWBi5HjMausfShzY4epQUDa7kjMGRc0G2UQajET8iuF F6BXt64V2CIU2g7LdvikhCDosf3qtRZhgLH9nWoZ7oXhMPc7/bEQNQaph3dUaqIegC7l /HaQ== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=opensource.cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d27si26665789pgl.202.2019.06.05.01.24.36; Wed, 05 Jun 2019 01:24:53 -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; 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=NONE dis=NONE) header.from=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbfFEIX1 (ORCPT + 99 others); Wed, 5 Jun 2019 04:23:27 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:58506 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725294AbfFEIX1 (ORCPT ); Wed, 5 Jun 2019 04:23:27 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x558JvZW018984; Wed, 5 Jun 2019 03:22:51 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail2.cirrus.com (mail2.cirrus.com [141.131.128.20]) by mx0b-001ae601.pphosted.com with ESMTP id 2sunsrckqj-1; Wed, 05 Jun 2019 03:22:51 -0500 Received: from EDIEX01.ad.cirrus.com (unknown [198.61.84.80]) by mail2.cirrus.com (Postfix) with ESMTP id 93DFA605A68C; Wed, 5 Jun 2019 03:22:50 -0500 (CDT) Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Wed, 5 Jun 2019 09:22:50 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Wed, 5 Jun 2019 09:22:50 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id E1B602DA; Wed, 5 Jun 2019 09:22:49 +0100 (BST) Date: Wed, 5 Jun 2019 09:22:49 +0100 From: Charles Keepax To: Andy Shevchenko CC: , , , , , , , , Subject: Re: [PATCH v3 4/6] i2c: core: Move ACPI IRQ handling to probe time Message-ID: <20190605082249.GL28362@ediswmail.ad.cirrus.com> References: <20190528142900.24147-1-ckeepax@opensource.cirrus.com> <20190528142900.24147-4-ckeepax@opensource.cirrus.com> <20190604170404.GR9224@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190604170404.GR9224@smile.fi.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=902 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906050054 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 04, 2019 at 08:04:04PM +0300, Andy Shevchenko wrote: > On Tue, May 28, 2019 at 03:28:58PM +0100, Charles Keepax wrote: > > Bring the ACPI path in sync with the device tree path and handle all the > > IRQ fetching at probe time. This leaves the only IRQ handling at device > > registration time being that which is passed directly through the board > > info as either a resource or an actual IRQ number. > > > > It seems my comments weren't addressed by one or another reason. > This one I would rather to split with exporting function as a separate patch. > With the switch to passing in i2c_client it makes for some fairly awkward gymnastics and "ping pong" programming to do so. I guess we could leave the function taking in an acpi_device but just felt like a slightly less user friendly interface. Any thoughts? Thanks, Charles