Received: by 10.223.185.116 with SMTP id b49csp2601505wrg; Mon, 5 Mar 2018 05:52:14 -0800 (PST) X-Google-Smtp-Source: AG47ELsoK9BQW+W1bRuMfobVSKu5W0ksP7YV2nY+LOg/2NPdWtjq/bj3OkhZ5l++2O73OoqcO062 X-Received: by 10.101.78.139 with SMTP id b11mr5150205pgs.229.1520257934702; Mon, 05 Mar 2018 05:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520257934; cv=none; d=google.com; s=arc-20160816; b=qYYvr0tmI4KtaBkx8EuMGqdF9PZi9th8uKHFdr3ODL0PDzDU1RwabxZnbWtsFATprE GOjUXD/5HpwQlWzWRluZt76gOYVJlhxbUMkrYjAEiAZIkbe1CTrpNiXYhZwSEi4QFb6T +ubXyD1eNhwUqJOhboHtGDuqxrORngzRfQs/UJuqrFquZwCS9vwL7LHxphcZ+27zorPc lUYGAjL9SnMVUPEGdqZLx618xSpxjBCc7S/x8w1PwQKMdtPSL4+UdU70IZU3K0omhcWg 3mN1x3RZ4uT44TUzJgxbLfpsBDEMNv62m3KnXd5L8JaYb21Glc47wpRMT5s6RSeIYonP P+JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Tl6Zytehb/HRXwxEBNbrbPvG2oZDNmAyuveZMAcYsqg=; b=BkG4e+wYI9h4B1udVTk9Nfoe5u5bkohCcGzuGUvoDU0W7r42kz7qWtX8kBqbqAC0+x /ygogsNKRRzXy3jzEmOrwlW8b1Zs/a6jLZGXnegaU0zjc/nIRcNlBRvPf+b1aAeoSO2v 4KpcXsVJe0gnlpUwJASGKZSeic1TddqphiAGt+UpofMkSa9VJDVkgxBM7qxzuySBhXH+ F+nAEdzb5B+q/BTjz/EGwP7bg+g9nu4ZTV8PqQQ74tm3fM5w+rDglLzob5vbOVleA1VV pAEqSnF30JTvMzANfqgqYqhtrXxo6VBp2nOtRFCcG6wq3O/1cyioOO5YWbfuKqvhBAsI duXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dowhile0-org.20150623.gappssmtp.com header.s=20150623 header.b=ow6dJANJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si9373209pld.366.2018.03.05.05.51.59; Mon, 05 Mar 2018 05:52:14 -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=@dowhile0-org.20150623.gappssmtp.com header.s=20150623 header.b=ow6dJANJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934158AbeCEK42 (ORCPT + 99 others); Mon, 5 Mar 2018 05:56:28 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:41838 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933623AbeCEK4Z (ORCPT ); Mon, 5 Mar 2018 05:56:25 -0500 Received: by mail-io0-f195.google.com with SMTP id q24so17466399ioh.8 for ; Mon, 05 Mar 2018 02:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dowhile0-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Tl6Zytehb/HRXwxEBNbrbPvG2oZDNmAyuveZMAcYsqg=; b=ow6dJANJFFF9+D90tySrPCS7zhDNV0z6+RNJi/MElEtwcI+tZ1xLyjMd8trCTTKeAH jrQ8ngJa+BvbbFSqNUQe3vqIvIJSHcYblSdRwESM7lnnJ3/VsL4AkZQam5ayCTrnUZQR Gne2Uoyu++wZgOvR5OthpBTcpFxkZgYwgGIDZSNwPEzj9tf2WaqJSbOQnLB9doXah4Fm bnWc+Cx3sjZ5gGT0j7rbdDbZLLoKuF6IgIAyIYOL2IV9YbKdywhQV86ifJWG4OkUWiEa 0GlcGFnelWC8478S677RfMPRl4KlpLEm9Mx1+WPVI72lsiyiaZAzCMg5l5Ik8k8lG+8b roMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Tl6Zytehb/HRXwxEBNbrbPvG2oZDNmAyuveZMAcYsqg=; b=jZW1py0iRd1PQjFABF89NtTgB7iOi+YLvQ5eDROoEJ/XaK9nfmqWNViYB7pubOgtF7 Je9t1664mP6FMsrOeU8HfFm/6h1VsrjjZVm+M6fHNq8V/cNITYpMK/I9OgLxyxlOU55u Ziltqd4jrfBmsH/YYK7ENC5ze66gilnBAQ5QIIyRd39Dzwx+FF1EssvuMRSw80tSj44+ 9yd60rwTIDvjL0w2Cj4NBgkyvtH6ztfXosayc85/Iv/1c4040nFA8cJiGWK3Hm0dqb2S gIfbSjkUvlnVZnFvDoPjnuVgxsCi5tTawRyiS3U6AJO2M6leTAS8HB60RLYe/CX5rkzr Qfpw== X-Gm-Message-State: APf1xPBvPdm4t+Pi1o7hqphQ+V56+Reu4IuBueFGofVdCrMb3C9SM7N5 6cW46sKg/8nKMs0t+FqGxXvhxciDX2EZwL/axWpvVg== X-Received: by 10.107.222.10 with SMTP id v10mr17118063iog.267.1520247384455; Mon, 05 Mar 2018 02:56:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.158.133 with HTTP; Mon, 5 Mar 2018 02:56:23 -0800 (PST) X-Originating-IP: [90.77.100.34] In-Reply-To: <20180305104203.GD8588@sirena.org.uk> References: <20180303222716.26640-1-alexander.levin@microsoft.com> <20180303222716.26640-111-alexander.levin@microsoft.com> <20180305104203.GD8588@sirena.org.uk> From: Javier Martinez Canillas Date: Mon, 5 Mar 2018 11:56:23 +0100 Message-ID: Subject: Re: [PATCH AUTOSEL for 4.9 111/219] ASoc: rt5645: Add OF device ID table To: Mark Brown Cc: Sasha Levin , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 5, 2018 at 11:42 AM, Mark Brown wrote: > On Sat, Mar 03, 2018 at 10:29:00PM +0000, Sasha Levin wrote: >> From: Javier Martinez Canillas >> >> [ Upstream commit 9ba2da5f5d18daaa365ab5426b05e16f1d114786 ] >> >> The driver doesn't have a struct of_device_id table but supported devices >> are registered via Device Trees. This is working on the assumption that a >> I2C device registered via OF will always match a legacy I2C device ID and >> that the MODALIAS reported will always be of the form i2c:. >> >> But this could change in the future so the correct approach is to have an >> OF device ID table if the devices are registered via OF. > > As the commit message itself says this is not fixing anything, it's > defence against future changes. That's correct. These were just preparatory patches for a change in the I2C subsystem to properly report OF module aliases [0]. So these will only be relevant once [0] is merged, but that patch will never be backported to a stable kernel. [0]: https://patchwork.kernel.org/patch/10089425/ Best regards, Javier