Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4913104imm; Tue, 26 Jun 2018 02:44:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcovS8tmJOjlu7lbi3P2BCdW6ZTxg1cSHSd7KN6wkM8i0R1fLTofet5XI5LIKJFZRWzwNKG X-Received: by 2002:a62:9fd1:: with SMTP id v78-v6mr783048pfk.233.1530006248157; Tue, 26 Jun 2018 02:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530006248; cv=none; d=google.com; s=arc-20160816; b=QA6gklQX6Wbjz1aqVu8etVAbx1vyxuU4KuU0RBi7Z0gRs4bwFoPTJg9e1BAazTTTOn SXjvnnlBnV26m/qxvJ1gg8upCwmOFAE/G0PsGywFreO0LBx/FG9XS7ZIITFSo0VUmeek IJAi3Af0yRh6L13tmyUG9Xn397MxnZVoUSY7y9be9OMC743iFpDnAmSsUK6QjgmRSq74 GvISEvQ4MwY9wJVIkz/qUSuzh6sDOoDMTdz2uepe2HfrUjAzF3ADecVwJ9hF/qjRsAOW OS4yhBrlzS/Yi+P84+0ojcT7TadcuduqEu3Bb1Ry93wlN7XXwvgCWPrC3HkIuGyuuQTR sENQ== 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=I4uf5/AFuxUT69s/WM8PEa4R/wc7zU5ADyv8FxL//aQ=; b=ESqvEObFsziri47lWbpeQjqZDwqPU98zivRn4FPNGgbjQr43W8v4EsIju/Gv0Ra3g0 RrqNkYAXzfgj6Ocv1lqWlYvmlLc11yknxBEf7AihL3RrQykn0g6mxg2e2uu2a2yi+Ce7 nx3pkwW5jajLtmdT0v61mAQG6+laMzUkEBflKb9BMFDm8jEDyGa+mt9S8xeVaNUISZga ujh0MgCYQLjj6gJ6ibujCRB70YRb+4+9AdsH+j2v/piXqPy1ndajMJTt/BonKlnKFISM 0RTkqARNBkZzZ34XgmjUZiMxKQiUvADy0EWfh8pcBxtRXpGUuT95Nzi9lqZYnNJXJXTI 66pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LXAlo17q; 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 z23-v6si1162317pfe.296.2018.06.26.02.43.53; Tue, 26 Jun 2018 02:44:08 -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=LXAlo17q; 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 S933628AbeFZJnN (ORCPT + 99 others); Tue, 26 Jun 2018 05:43:13 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46349 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932629AbeFZJnL (ORCPT ); Tue, 26 Jun 2018 05:43:11 -0400 Received: by mail-lj1-f193.google.com with SMTP id u6-v6so5102648lju.13 for ; Tue, 26 Jun 2018 02:43:10 -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=I4uf5/AFuxUT69s/WM8PEa4R/wc7zU5ADyv8FxL//aQ=; b=LXAlo17qcjh9PK9D49yyIBHNuqEyBxiidCULUgJGtze4JZ32IjjvgGx/iHgxJRXbkD ZjLl0JduV3fNwiN+jtzANUkLhAi8soekCsfw0v3uo8IzN+XmNCICCRTkumjiL+CxD+mB DA2Gs9iVQ0zb7b4EJcKYVhavNIZoDtu2vmbfE= 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=I4uf5/AFuxUT69s/WM8PEa4R/wc7zU5ADyv8FxL//aQ=; b=C05L/vgv735RQwuiufrzC6CCaiDxurI8MrNzvUOeM2qdFTB8Te6INzvVlv/lMZEZ0o s5rXdYtbFXM56+ktnlR31IXsWbV0Hx5Kv/HiXgZ8jxtx0vKFP1/7eBneQ/Ymb+dw2HNt VQEvom8Yolf/pkYIBOPA9KsacPujK4DSduhjOXUrcrVoCw6LW/N/qiPWJYE/LZ49fEtr c6reJ5omgSnKHVU96GRxtzMdRYCDrV7MAm8JQH4HvWGFp1XentucPzsL6VhykzY8QGfq AvEyQC6BoRZ7xaauOU7nIGx4j6F72jQ4kMcwlLo0ChUMxHdAkvjx07X2rrWP3pDk645+ V21g== X-Gm-Message-State: APt69E1diwO/DOfh4fKjH5XlXGUTuJVbhi6JRRwQu8KsGY5uJW8GI9R6 G2E7o4qrfafL/wtB0jPjogfnUA== X-Received: by 2002:a2e:6d11:: with SMTP id i17-v6mr654815ljc.116.1530006190020; Tue, 26 Jun 2018 02:43:10 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u24-v6sm169536ljj.96.2018.06.26.02.43.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jun 2018 02:43:09 -0700 (PDT) Date: Tue, 26 Jun 2018 11:43:07 +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 00/12] ASoC: qdsp6: Fix dt based module loading and minor fixes Message-ID: <20180626094307.GI25217@centauri.ideon.se> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626092016.9296-1-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 On Tue, Jun 26, 2018 at 10:20:04AM +0100, Srinivas Kandagatla wrote: > Recent discussion on https://lkml.org/lkml/2018/6/18/1282 suggested > that qdsp6 code is using less common of_platform apis which would > not give dt based module loading support. > > Suggestion from Rob was to add compatible strings to the dais nodes > This patchset adds this. Also this patchset has 3 trivial fixes which > is removing redundant owner, remove unused struct member and fix a > error check in q6routing. > > Changes since v1: > - Addressed few trivial comments from Niklas Hello Srini! I didn't see a response to my review comment in: https://marc.info/?l=devicetree&m=152998662313684 "Since adding the compatible is a prerequisite for using of_platform_populate()/of_platform_depopulate(), I think that the patches that make use of of_platform_populate()/of_platform_depopulate() should come after the patches that adds the of_table entries." If the code is bisectable with the current ordering of the patches, then feel free to ignore this review comment. Kind regards, Niklas > > Thanks, > srini > > Srinivas Kandagatla (12): > ASoC: q6adm: dt-bindings: add compatible string to routing > ASoC: q6asm: dt-bindings: add compatible string to dais > ASoC: q6afe: dt-bindings: add compatible string to dais > ASoC: qdsp6: q6adm: use of_platform_populate/depopulate() > ASoC: qdsp6: q6asm: use of_platform_populate/depopulate() > ASoC: qdsp6: q6afe: use of_platform_populate/depopulate() > ASoC: qdsp6: q6afe-dai: support dt based module loading > ASoC: qdsp6: q6asm-dai: support dt based module loading > ASoC: qdsp6: q6routing: support dt based module loading > ASoC: qcom: apq8096: remove redundant owner assignment > ASoC: qdsp6: q6routing: add proper error check > ASoC: qdsp6: q6asm: remove unused struct q6asm member > > Documentation/devicetree/bindings/sound/qcom,q6adm.txt | 6 ++++++ > Documentation/devicetree/bindings/sound/qcom,q6afe.txt | 6 ++++++ > Documentation/devicetree/bindings/sound/qcom,q6asm.txt | 6 ++++++ > sound/soc/qcom/apq8096.c | 1 - > sound/soc/qcom/qdsp6/q6adm.c | 16 ++-------------- > sound/soc/qcom/qdsp6/q6afe-dai.c | 7 +++++++ > sound/soc/qcom/qdsp6/q6afe.c | 16 ++-------------- > sound/soc/qcom/qdsp6/q6asm-dai.c | 7 +++++++ > sound/soc/qcom/qdsp6/q6asm.c | 17 ++--------------- > sound/soc/qcom/qdsp6/q6routing.c | 9 ++++++++- > 10 files changed, 46 insertions(+), 45 deletions(-) > > -- > 2.16.2 >