Message ID | 20180626092016.9296-9-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006773lji; Tue, 26 Jun 2018 02:23:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfejlVA/911P2Bh3RI3yWnxv+tn6pCvtxnTsbIeM7FdXN+okHYnGs4dRJMz4SDyA2ehi34j X-Received: by 2002:a1c:2c54:: with SMTP id s81-v6mr902788wms.145.1530005010255; Tue, 26 Jun 2018 02:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005010; cv=none; d=google.com; s=arc-20160816; b=tAvaGvfgyDDeTjP3fzhZxdQWGXStvc3aCCivyiX9X2IIFgmQfU6POK4/JmubtWBpQa j8j+gxT8ZrPPJjv0I3nWLKuVc5s79QhmXlDc2Z6N9l8zSWneiCK+fCRK25O7xQuW1TJH BVgvERvC/h0t8eP4fLo4qn3JsU0go3uK1X2L/QgWd873knEBHPfiDQqfqIaTxuNVZrW/ wgAVRA8g4S76AZy6quso6NPqRkwYJPxClzvlH/aBtMJfgibfDdSnh/YxwOfSJd76GweL pOX2PYld/RJhF9oad21pX61lUIYc1u5G56pxk3gWm3Wc6YJiAF498lfHJ5gcko7QPn7U SpPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=02w/Qg/06MhNfjY61BOfCuvfzv0GqUM7djAFGiIkTzI=; b=QxH6ty7lGVV5/EG6Gp8R9hTEZmxrVZlKZDPjwrioYoBFpCE2Xei1AX543rsFVnD9/T s98Gax5QZg7v62Dzo3gmoZmdlgsWRZ275nYh6NPtlw4u16htnJbKQoeF4HgkkcBXUxgS ne6mMLlu2YAEkIaX/l8XiTkvR+dGnFXhqNkVRDiALNNVuRQFuxazO9mejQXDXIrusHOI 4Sf0XKEU6RsH59Yi+LJRgPrU5+SEtKppOsCxhAL54YRyiQQLGhyDJoEviqCYa09gvDFx yklVtbVGzMMMI++2z3MiYjrqHoZJBQyUdeey4e8egF8dhepZifMiHek46slCllesHklg 59Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+cyKahC; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 17-v6si1240351wrv.412.2018.06.26.02.23.29; Tue, 26 Jun 2018 02:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+cyKahC; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2DB892678AB; Tue, 26 Jun 2018 11:22:44 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 98C4F26788E; Tue, 26 Jun 2018 11:22:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id AB6F72676B4 for <alsa-devel@alsa-project.org>; Tue, 26 Jun 2018 11:22:32 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id e16-v6so1033718wmd.0 for <alsa-devel@alsa-project.org>; Tue, 26 Jun 2018 02:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dDHlQQyDgNgCnbd9tlc16D/4bHw7LUCY4jFdFkZ6Znk=; b=F+cyKahCRSnwMLc7HfBOO2kByLZWw6cGsDsVvXJ/5IKhTl99gon0VxdjX+sggnQZbB J7vAj/hERlj2l2iB0HYph5BmrMLwJsy6ssMZFJH9vZBhYkuLDYgvrd5EaP2AWeiR9jEE F6UAS/IpTtzcv2Uso5hktnirhbllP7emVTXow= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dDHlQQyDgNgCnbd9tlc16D/4bHw7LUCY4jFdFkZ6Znk=; b=hTA4gRnii+sNGJ5/x4RBSDHXWnWZcA4/XdykPmarJGutLdMfpJUUk6ZsgNSgAut7x7 +ujGe8nW8SAFws2U9M0D9x32Ssn7aJxAFLquElRA0OeSFmPD6Cw3VcgfZmCg3WEt6FBV 2+fimLQ6NkQDAeeOKMckoETfksUn67r7gq6bRrLulRFZmwO6FxwQp8jwYEfBhk2DeOJ7 3GgHU6Sx+xyK0V9MsZSLducoDXkQ7K13rgV786di5dS1GNEbVlTIUhyj3St3T9/F4CrC QZ3sZdWmn0kehdYQToWt+p75nyjKzC0rYP5saHQh6EKOeV8c8NLCCOIYBX7ic4XVFV+D U08A== X-Gm-Message-State: APt69E3YPEVeyj0Vk/1ziZ4BI2qHJtCrF79dPUGDH5Pymx9kifZxZSuc E/SR8vPBHqpvSSWYwIkAZRjW/w== X-Received: by 2002:a1c:9e95:: with SMTP id h143-v6mr952105wme.68.1530004952197; Tue, 26 Jun 2018 02:22:32 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:31 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:12 +0100 Message-Id: <20180626092016.9296-9-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 08/12] ASoC: qdsp6: q6asm-dai: support dt based module loading X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org |
Series |
ASoC: qdsp6: Fix dt based module loading and minor fixes
|
expand
|
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,
This patch uses new compatible string to make DT based module loading work. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- sound/soc/qcom/qdsp6/q6asm-dai.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel