Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4907107imm; Tue, 26 Jun 2018 02:36:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJg/V6W5Qb6WDlezSm962PGVsZpKacqEE1gy73DciCmrEo2b9pX4kRgZhyEt4R7T30qdYpw X-Received: by 2002:a17:902:ac1:: with SMTP id 59-v6mr831992plp.36.1530005762587; Tue, 26 Jun 2018 02:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005762; cv=none; d=google.com; s=arc-20160816; b=yrWhmc/OkcY5oQKVkBbtbChStZjCdz7GM23ZaN1+UBLgUgtzf0o9HKQMuvS6N1TbYV 5/9RdqZJY0hMV2YtnVTlyjUFKdwS8j8XDNdh6YOXooVejrzTVOIeeAWHnfV127umX5vd r7i1NBHRuEUvhuBex4i8KEJjokJ+11wCLJuj+/pNyjBNFrTIxOzTkZ0TBlVTSfAOlQAZ +eLBuq7T32zt9dq7HDDNwxxSBnd+bQO0V4LlPh7YhYmTk6BwzDUddlsM19dc+9CAp3Wn s1OsORqCDTyKIah1PHHAHrkM8FXtggPvOm5e2OwGNCq22wTcKbE71YJSZLAb/FiixGFp PZtA== 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=wgSKiAEQPlmnWkW1XTvviyixUIC5QAnCfkk1fxVLggU=; b=VwpGxzTt2j/azas1KCo23D1OcxsIsZN+4qLolrPXZyFvXRYYpuIL/wZbIpVrGPCOfl jR2qL+Tsjs7WA9JAhKWI2jHoARE9JMH58W8+/MN7nB0slHCYhhx2Q9zJxy2Mz4bow7WM gprVaYOhciWXS7Xxfn/FwekzUiUeim8tioBRZT02+wshJj/M6JsY8zzB8SHduUz40mqf bAYxL2gWPeBpMeA6OXVxdSL7RACumbNMvAmLPhpuR20eA9bKTSYxMEMhS25k4tIJQxeg kYb2Mu1YCp5d+mvkloisCSsyJbkiBDJpPUWMUSigZymX+UcGfqr6myP+Uz5FS1FjXmax PSQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RnZ+LVBI; 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 p22-v6si1038613pgv.236.2018.06.26.02.35.48; Tue, 26 Jun 2018 02:36:02 -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=RnZ+LVBI; 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 S933740AbeFZJfG (ORCPT + 99 others); Tue, 26 Jun 2018 05:35:06 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:46463 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932544AbeFZJfE (ORCPT ); Tue, 26 Jun 2018 05:35:04 -0400 Received: by mail-lf0-f66.google.com with SMTP id v17-v6so9827216lfe.13 for ; Tue, 26 Jun 2018 02:35:03 -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=wgSKiAEQPlmnWkW1XTvviyixUIC5QAnCfkk1fxVLggU=; b=RnZ+LVBIuQ9+IBPUr/7HDMEREBCvZ0A2/reb/t2BPR31qhehMM0xiFuqCFVdtddMqo chArgbxtmzhztY4azJqXYrNWKzjEzNl8i1Z5zG2DSpqxwQQ5fyLaXKv2tN1Lc6VhkkrK gy2Tav9L8iaFIYgFE2C1YOz6IF5vDKXLgUnFE= 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=wgSKiAEQPlmnWkW1XTvviyixUIC5QAnCfkk1fxVLggU=; b=UXsobbKiTmY4qJ0qRPIJ6/miwZC0Teuwl0C6rA0i+/Qwrv4y6pcSTq2ngou7QdgLiK lq8iUf8f+zQLMMBMnk6uiz8qbzazsbPEaWwj/81yE6AisHbe7d0vnZGjwHeABkCP59mO zRDsIAWFttTaWKiZWskXg+uvaFARcpO6BjTOCrw6iM7jTNXA1/w23U8G49OT/IU+aCiM ftWpxUHHzDyxNZoCgIsy7Iodtu4qB8umTWpdfQWa8YEgoi6wBLu+tiH9EcoVXqAAkcWf 9+RbF6xaSGuHKOi7s6M7O2fAW+o9eF8Brt5CORS5qv1xi/jWXVSKZzuZpd9GpaIECYy9 50GA== X-Gm-Message-State: APt69E3e0euj69JqJ4drzA7dczI9xq+19OGpYurJkWGdM8NmJHTH9EfI T8o5NJOMkGRn1EVMGDrNYyyHKg== X-Received: by 2002:a19:a302:: with SMTP id m2-v6mr672955lfe.5.1530005702863; Tue, 26 Jun 2018 02:35:02 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id l20-v6sm249429lfg.14.2018.06.26.02.35.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jun 2018 02:35:02 -0700 (PDT) Date: Tue, 26 Jun 2018 11:35:00 +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 07/12] ASoC: qdsp6: q6afe-dai: support dt based module loading Message-ID: <20180626093500.GD25217@centauri.ideon.se> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> <20180626092016.9296-8-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626092016.9296-8-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:11AM +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/q6afe-dai.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c b/sound/soc/qcom/qdsp6/q6afe-dai.c > index 5002dd05bf27..1d2e5013c121 100644 > --- a/sound/soc/qcom/qdsp6/q6afe-dai.c > +++ b/sound/soc/qcom/qdsp6/q6afe-dai.c > @@ -1290,9 +1290,16 @@ static int q6afe_dai_dev_remove(struct platform_device *pdev) > return 0; > } > > +static const struct of_device_id q6afe_dai_device_id[] = { > + { .compatible = "qcom,q6afe-dais" }, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, q6afe_dai_device_id); > + > static struct platform_driver q6afe_dai_platform_driver = { > .driver = { > .name = "q6afe-dai", > + .of_match_table = of_match_ptr(q6afe_dai_device_id), > }, > .probe = q6afe_dai_dev_probe, > .remove = q6afe_dai_dev_remove, > -- > 2.16.2 >