Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4908853imm; Tue, 26 Jun 2018 02:38:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK0FXOurP9Jgn1D1V1zGRJ7Oio7mWtqIcNZK1kZIPNL9H4tu32qc4wvwffu+jTdl6i9ASd8 X-Received: by 2002:a17:902:b590:: with SMTP id a16-v6mr832482pls.225.1530005898029; Tue, 26 Jun 2018 02:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005898; cv=none; d=google.com; s=arc-20160816; b=nCQ7eim/qIJ90aaE5bbCb2yAeccPOqoh6cs/Xk6FSDzkFKrTwJnTd3AhQMhjOF5uB6 tCm2pJCougsd8DGuZL48qg2aQuY2G+Tz1zNjEjzRgbUoEKJnl/5eu/RSfnIdQS2TrsuL 0xjRdrE2+8wrNE9tIXplGUf9nBFi2OnH3NgMdmzPJuzUX/5gXmgXrnk4D2TGxCOIz/RH V6otxOKcwYId9X6RvdKCkUiTuDvwPlWRPaXKEdipLqxDaFcx0AS0ezyGzz2fu+Cy37e8 Z1pK1IRxwXP96Jlwrvegd2FgXpAhw/k7JWTuUd3NDXFgIf/MTzXfrXWkN/CueaG+o9cc R7aQ== 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:arc-authentication-results; bh=PZVW9Rn6MsGlL0H/an3nINAEyYJxnHuYQugD6DyiKjI=; b=ZXwpjVK3hsXpPjYwzZJ7Hn1JxR93hstlf4h6c6k+UfzPt1wL825UO93TTzYoJbo379 7bmtTOUt9OviMHTqc+dhoX4KY94+OND3LbNiaFAQ0F2tF9ZEa6nBwj+d/Ivpn+qUmZm5 tL1n7ZbGOaD+4LNW5JRM61acr/0IHcaU0XZaGL7GTUrdkkq/ceyf1CQFHBu3vg7Rb0h0 RJTPIdo5sFLUoOIR0kmueVynxCFQIupKrPgd/xRv9GLLZrI2Ej24fLQj5+xMHPf9pd72 CrnPyZGmrFF4F4IScTQpx0D92iwXxN9ADeUKi482rdb2vewbYy9zhrEce+lDs/ZWafe2 uueQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XY6nHcaE; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1-v6si1067198pga.296.2018.06.26.02.38.03; Tue, 26 Jun 2018 02:38:17 -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; dkim=pass header.i=@linaro.org header.s=google header.b=XY6nHcaE; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934012AbeFZJfo (ORCPT + 99 others); Tue, 26 Jun 2018 05:35:44 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:38464 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933593AbeFZJfm (ORCPT ); Tue, 26 Jun 2018 05:35:42 -0400 Received: by mail-lf0-f67.google.com with SMTP id a4-v6so6184666lff.5 for ; Tue, 26 Jun 2018 02:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PZVW9Rn6MsGlL0H/an3nINAEyYJxnHuYQugD6DyiKjI=; b=XY6nHcaEys6aeimchWL1gvcwiSFHI2TKI+VfYRBZd6Q3b7DgXG/ManX5roIIi3lGLk se2Nh2F/sUrScOuyo5dJJHS90WnQVFszf0aj5aSjEjSiSSs+kD85Tbvtl+L96YUdwcjx ou+kWDx+iW6QtRLOv5YsAdEdStQzZzyLkjg5M= 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:user-agent; bh=PZVW9Rn6MsGlL0H/an3nINAEyYJxnHuYQugD6DyiKjI=; b=fOui7BsZUCdBZoqO4gSawdleiJKKs7qCsm183CuNjjsnt4Q524EDdegC/unX6kAe88 by+c6qNSIpe0PZSiphwSRd4fUxP3b49vM3BDu1tpao+WFkBUt98IdYtmg/rIwCHkRSBm co8sCn7LkGsTSZugTay+edkV8eAXmF4UXXqqIxdd3qbs2o94yVOsKQUy0829t6PLpgbM tIEihAvlrUsvvAhyA7a1CWWqCpdzMnKac76qbc/9RBZ8CwTL15k1f+sd+lgfRLO4SclJ BUJD5zVx4GgEjCFiAMd9DZFUBsog0lHlWmdzQLwfBRDfiTKRvOTNcjae882Gsh12qcU/ 7DEQ== X-Gm-Message-State: APt69E0F6IxWtCK6av3myNzaFA2QvKL62Rjb7E3YpoEPNg8EgfdpDDlu /lFjGxyLRMtzNPTVtXN1hTH/pQ== X-Received: by 2002:a19:d754:: with SMTP id o81-v6mr681826lfg.124.1530005740720; Tue, 26 Jun 2018 02:35:40 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f17-v6sm168186lja.85.2018.06.26.02.35.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jun 2018 02:35:39 -0700 (PDT) Date: Tue, 26 Jun 2018 11:35:37 +0200 From: Niklas Cassel To: Srinivas Kandagatla Cc: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, lgirdwood@gmail.com, bgoswami@codeaurora.org, tiwai@suse.com, perex@perex.cz, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 09/12] ASoC: qdsp6: q6routing: support dt based module loading Message-ID: <20180626093537.GF25217@centauri.ideon.se> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> <20180626092016.9296-10-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626092016.9296-10-srinivas.kandagatla@linaro.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Acked-by: Niklas Cassel On Tue, Jun 26, 2018 at 10:20:13AM +0100, Srinivas Kandagatla wrote: > This patch uses new compatible string to make DT based module loading work. > > Signed-off-by: Srinivas Kandagatla > --- > sound/soc/qcom/qdsp6/q6routing.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/sound/soc/qcom/qdsp6/q6routing.c b/sound/soc/qcom/qdsp6/q6routing.c > index 593f66b8622f..ab696bf8d1d3 100644 > --- a/sound/soc/qcom/qdsp6/q6routing.c > +++ b/sound/soc/qcom/qdsp6/q6routing.c > @@ -993,9 +993,16 @@ static int q6pcm_routing_remove(struct platform_device *pdev) > return 0; > } > > +static const struct of_device_id q6pcm_routing_device_id[] = { > + { .compatible = "qcom,q6adm-routing" }, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, q6pcm_routing_device_id); > + > static struct platform_driver q6pcm_routing_platform_driver = { > .driver = { > .name = "q6routing", > + .of_match_table = of_match_ptr(q6pcm_routing_device_id), > }, > .probe = q6pcm_routing_probe, > .remove = q6pcm_routing_remove, > -- > 2.16.2 >