Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4907521imm; Tue, 26 Jun 2018 02:36:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLtgnMg/MqfgG113jg4tFMxq5fm2rjOdezvr4irFVJyFpSQdVtFcB1n1eBRKPNQiifFJZM2 X-Received: by 2002:a63:3201:: with SMTP id y1-v6mr684684pgy.419.1530005791257; Tue, 26 Jun 2018 02:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005791; cv=none; d=google.com; s=arc-20160816; b=X9/nkXrUHJRV7+cxl2+/lmHEr+iIvgLgAVKEZS5MBz4yf7EFqQynNaH2BNbdibPAzZ WtZ54i4jx8Y8x34a/Db42kvLL2XbkcPbjzgAQgtrwxw9SP4e6s2q2h2zsTwbflP8y0Wv +3M8aW8co7ZiIHJUeTN8QTJ15eZ+FgnQ8cEvthF3WhUHaUeakO0vF2RCuRf/T3eWo4Xk +EA6eoirEm3niVNdsrLO7aODJSZola1cxWB/ZH/nhfBFHOBYuJymq1hq1Xx0rEHvMLwi V/W2I2rQU7oCiH84oZSCifIbd/Yn/K0l4A8qRLrFJhI3SIkZgcpmzIGn7qeYHEVKe1Ey +i/A== 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=eS+poQUaGu5RylKjDE47h2+a/AFOcSg/ZD8cHejxkfk=; b=lNXU7i7EoLAIROyKIDXVt9SBqLqRw5WDj19AYndl34mCd6UcmPFhWGjLgQ8w1oopiT BevudIehkpQTUjzHqj60I3jSSP7ZygVsIEGaU2qYsiSnPqUruRREI+J/HqFJd+H/Zto6 fXFaJgQ4ssxVBvK68rtLGRBgcwCt40Rktx2y7G4yqhCd6m42lk8ewpPGLNC1O4H5UTQI RFwGW9kXfJFlD6JK8IKivOQhu5zJptfHNW/I3Uu/x3Bo4scPzPs9EI8212SDJv9WhDvU q/JQ9GX9G3rwsGc0E40XiZ7Gke+fCt87OLPyIVZu/fdLunQpD/Dks+WvQ60LxoQWxADS NDUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZWfzmTss; 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 k9-v6si1246539pfc.129.2018.06.26.02.36.17; Tue, 26 Jun 2018 02:36:31 -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=ZWfzmTss; 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 S933920AbeFZJf0 (ORCPT + 99 others); Tue, 26 Jun 2018 05:35:26 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41626 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932964AbeFZJfY (ORCPT ); Tue, 26 Jun 2018 05:35:24 -0400 Received: by mail-lj1-f193.google.com with SMTP id v12-v6so8256947ljj.8 for ; Tue, 26 Jun 2018 02:35:23 -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=eS+poQUaGu5RylKjDE47h2+a/AFOcSg/ZD8cHejxkfk=; b=ZWfzmTssMas7Avhfd6gfKNINmYUh972cpcDmu5FRPklK+8rloX/Nh/UobNyl7DhjvC FyWcskHW7qwqlhjrmgKTpY6luYmdgVwRffeVZNspQsuzRc3pZTQ3KzPmXWI6bXWO6PDX 1IBSK8Wn63jtWSpJyVzw45HelPpA9q9WVrFQY= 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=eS+poQUaGu5RylKjDE47h2+a/AFOcSg/ZD8cHejxkfk=; b=L1Fsjjgy052gr0f/cvtrsHo9Ts9UuQoJl9gPgSzljKXRcDI/ZYGA1R5dz4vAiqTe9A j4G3SR95dz5yzb9dohHyTjpf0Dqtj+phPk7TTZE3IY22UYxrwQOeyjKmIenRIkZPnX3+ 6BBpAkcRq9AZJwUDH4JkCXOBfIw48aBwJUNfuMZPcDVRxHsnSAcV/2Dr+d+vPXNL0ixl X6FDUqkX+Auhll6m6Dhzhmwaos9YwDLyI5Px8YWDjQblxzaS2beSEKHgXQoo9mQNvw8o kRgZ9VvkO+CyrstPr3HGNdL7MwLoViPS4I0l8BW8cicI05th8ynBuK9Q+INtxr+OQxiG yPnQ== X-Gm-Message-State: APt69E0RIGowXydJ/dh54s1hMV6B55aDgZ4hNgTUqNOWa1Zhkc4o/v/y kpNlVUxMnZRQhrKEDwi4Oe3PVg== X-Received: by 2002:a2e:6f18:: with SMTP id k24-v6mr633899ljc.84.1530005723143; Tue, 26 Jun 2018 02:35:23 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id z184-v6sm242621lfd.82.2018.06.26.02.35.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jun 2018 02:35:22 -0700 (PDT) Date: Tue, 26 Jun 2018 11:35:20 +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 08/12] ASoC: qdsp6: q6asm-dai: support dt based module loading Message-ID: <20180626093520.GE25217@centauri.ideon.se> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> <20180626092016.9296-9-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626092016.9296-9-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:12AM +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/q6asm-dai.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c > index 349c6a883c63..1196dc7483d2 100644 > --- a/sound/soc/qcom/qdsp6/q6asm-dai.c > +++ b/sound/soc/qcom/qdsp6/q6asm-dai.c > @@ -611,9 +611,16 @@ static int q6asm_dai_dev_remove(struct platform_device *pdev) > return 0; > } > > +static const struct of_device_id q6asm_dai_device_id[] = { > + { .compatible = "qcom,q6asm-dais" }, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, q6asm_dai_device_id); > + > static struct platform_driver q6asm_dai_platform_driver = { > .driver = { > .name = "q6asm-dai", > + .of_match_table = of_match_ptr(q6asm_dai_device_id), > }, > .probe = q6asm_dai_probe, > .remove = q6asm_dai_dev_remove, > -- > 2.16.2 >