Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp169075pxa; Wed, 26 Aug 2020 07:36:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/ph4e8DKBOB0ur/tPa7ZgHSd2EIPbgg97MQ3pQGUTaXdgQH7BGbCLz94VinEScUul12ux X-Received: by 2002:a17:906:6608:: with SMTP id b8mr15602632ejp.317.1598452595616; Wed, 26 Aug 2020 07:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452595; cv=none; d=google.com; s=arc-20160816; b=gvDJf3VLl0c4Blb9AnlQvoTh3ZLSWXj5eU8TWQWm/5jHgn71szC4Jst1uJ5qtt30nw VFtLduShKtG5StqoHWaeB3Fa7MyCkN7oLxwUEj8DesBMEKbjMHCl6uXluGHUcdKg6Fg8 xUIYEa3WTzyTdFX+03Ab2tJl4ZamwWXJSmFdd2+4SC4DYZOnxAHopqAsjbUtty2ibnHM aX2ZEG2CyjzzVzeYUSqJhfmBm4C8CxFNnGSMDv0PFR0aaUrjNaAF2BD9OuTB0dXbb3rl r7rJdRCRMnpL6QwYjGdmQtM2r2/AP59g8kbwoP1yGxcI6HJchDZSOhppkGnR7SqpeH1R n3Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5HN8SVYTWAqpUbTUQ7xaIG63eRoyrfMEVmJbrdoVYzE=; b=Ku6VuORHa1nmwihEqjqZZEtLskm+28wTaerMCDeleHLEj/a/wmSnxo9EdKW4YESKKh fA7Tzg/8FZHvqpLChhBUi8BQNC90fV5rGAtM8Y/9/Y21v3HCjLn1UCMIPC9PmiLVlyLd 8h3mL+S92YDicEzlHEZIonenR5lbRNmKyMy++F5ancQf14ANO8751nH7np2upts/V6dL CS6AJpR0kdeGndeaNZ1qsm9e19q3T7aV/d5LUH5ofTDX/Hfm1idE/WSqtOXGtGWdlzmD cRonfaACgaZKImIGroy3KZgEnYqRwFtP+7sSwI1Ph1p0YzQPDFFDRMkjtbw+ToXCLIeJ FNuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DpllK69A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si1484661edi.428.2020.08.26.07.36.12; Wed, 26 Aug 2020 07:36:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DpllK69A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728107AbgHZOST (ORCPT + 99 others); Wed, 26 Aug 2020 10:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727879AbgHZOSO (ORCPT ); Wed, 26 Aug 2020 10:18:14 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78B7CC061574; Wed, 26 Aug 2020 07:18:14 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id k1so1065867pfu.2; Wed, 26 Aug 2020 07:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5HN8SVYTWAqpUbTUQ7xaIG63eRoyrfMEVmJbrdoVYzE=; b=DpllK69A/ERvmVIIUtSSByyHUZhTS+90OIW+1wi2+T4KR5gBf8MPVvbnMMmPwSLj5M U/JbRBkJkTFB9nKoCifcgAYNaTJxt3DGQLZWi4btOd70ckXx+qw9gINLKlJQq/j8LhKB wVUTIkDw7nXS2fPF1wUuruiyr4BRHmllxaFWdodQhJcc+7wyTGIqR4JY16BS4fSTVZAx JyerP0lxFshro1bcyy0Mx3Ti7Hlf3rITNEINPillYmMQtq+MFRPrODQB9nG3gxrhTdm+ hMGNKUsL7OO12qajIbSUgg+dUycrlu979s218gQuVLmmI5S+5g5u3KYJbaNHIKzguWkN oAWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5HN8SVYTWAqpUbTUQ7xaIG63eRoyrfMEVmJbrdoVYzE=; b=PCFflp4wbhn+ip7v9ykLEkVKFCEowELu4uZeKqZzXpVtHATi95W87jDnLzOIHi597P 8YvIYgt0834nSa0JkoggrJC3mM6sSaMyM84Vq1F3wM9BgzeAFKqxvfZUAVOfwTDmBvbu FlONLMdiQ486ZCS0NyBv9DjbRiC/KzZCygoTqD8yYdo7rCmBOrKQr1BGFspjG9mTHVIy pmPg8vrY+BUbATHoUzafv8zICJx+tFqIFVexkYpehAPrMKw+Rpcu7Lw7UWkvPFUk/b3F +HkvOsVGutUFllje+vTc7MRemJA2jW+PC6PHJN3h6JpMwlFdKBazEuOQPqlK8SJ+JgqM BHnA== X-Gm-Message-State: AOAM5326nh1F1MDeetdBt0B3hSFaTm3Xsiz01q5wcqIj3ZJnf/uMOUEh sbbidyPQjcx74vWXeqpd0k+RS0wCknY= X-Received: by 2002:a05:6a00:16c6:: with SMTP id l6mr8640665pfc.80.1598451493955; Wed, 26 Aug 2020 07:18:13 -0700 (PDT) Received: from localhost ([2409:10:2e40:5100:6e29:95ff:fe2d:8f34]) by smtp.gmail.com with ESMTPSA id t2sm3304891pfb.123.2020.08.26.07.18.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 07:18:12 -0700 (PDT) Date: Wed, 26 Aug 2020 23:18:10 +0900 From: Sergey Senozhatsky To: Wolfram Sang Cc: Andy Shevchenko , Sergey Senozhatsky , Mika Westerberg , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] i2c: consider devices with of_match_table during i2c device probing Message-ID: <20200826141810.GE8849@jagdpanzerIV.localdomain> References: <20200826042938.3259-1-sergey.senozhatsky@gmail.com> <20200826050851.GA1081@ninjato> <20200826052544.GA500@jagdpanzerIV.localdomain> <20200826095356.GG1891694@smile.fi.intel.com> <20200826095617.GH1891694@smile.fi.intel.com> <20200826102411.GC8849@jagdpanzerIV.localdomain> <20200826103807.GD8849@jagdpanzerIV.localdomain> <20200826105426.GJ1891694@smile.fi.intel.com> <20200826112326.GC1081@ninjato> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200826112326.GC1081@ninjato> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/08/26 13:23), Wolfram Sang wrote: > On Wed, Aug 26, 2020 at 01:54:26PM +0300, Andy Shevchenko wrote: > > On Wed, Aug 26, 2020 at 07:38:07PM +0900, Sergey Senozhatsky wrote: > > > On (20/08/26 19:24), Sergey Senozhatsky wrote: > > > > > But then the question is why we have this code in the ->probe() at all? > > > > > ->match() is run before probe by bus core, no? > > > > > > > > That's a good question. > > > > > > Everything seem to be working OK on my test board with this patch: > > > > I'm okay with it, but I want to hear Wolfram about this. > > If it gets a green light to go, feel free to add > > Reviewed-by: Andy Shevchenko > > Sergey, > > Can you send a proper patch (with patch description) and me and Jean > Delvare in the To: field? > > The origins of this matching code are pretty old and Jean is more > experienced there than I am. Nonetheless, I will check it, too, of > course. Oh, sure, will do. Is that OK if I'll base my patch on linux-next? I'm also going to test the patch on more devices here on my side. -ss