Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mail-b.sr.ht (Postfix) with ESMTPS id B0C92FF17C for <~postmarketos/upstreaming@lists.sr.ht>; Fri, 24 Jul 2020 11:21:42 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=QS7Q4UJC Received: by mail-wm1-f67.google.com with SMTP id 3so1004242wmi.1 for <~postmarketos/upstreaming@lists.sr.ht>; Fri, 24 Jul 2020 04:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0R1s+al6Mm45KgaCKre3FBg0h0lWvZojjImleLMbiKE=; b=QS7Q4UJCbJh8ysky/Gs2DXcma3JMCkVRSpqjsengispUhGPVUaHWDINFC1zijXM32N 5kygO3EJWlF/IAeKZKEiVYwWbjtfff5vDo64OOP65ZzrhlJv7x3Md+xXMM8L/R+ZvPHd IrVGUnV22sgGO5L8oQgDqONhDKp36lKF4r9f/mLg5kiPUjnzfN5lpwfF4cCMPvppRgH4 //tSBkQ/rxx1DUZRvyPR9UnP7Qot+Mn+yXlxBJwNB+knWJ3ObH1x0wf5y9G/rLCmT98u AgTV4jmtqhimqFSbLkOMkzk0lI0xgsA+yr4mZMLyn/2q6zmvFD2wMBAJh7EkcfOWOPE4 cQTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0R1s+al6Mm45KgaCKre3FBg0h0lWvZojjImleLMbiKE=; b=So/WphTuYpvFjURRo7VzhaJme/fYMXn07sFWQWgD9lVySzjs+/8ihIKGh64zvI5jSS fdelKsIZWjghrLbeVVI4auobLx0/f9Oeo6LEFtRkL2FT6EWRTqj7PVTxDQypTvVP/+BQ p6fCstCxuZxwUlbzreFGFUYwE609ESxo5VDRETREK6q4bqd2SdQ3Ws5JSE6N/y4Sw5VW OLEXnB5zUQcwI6PZ69P0fUY8m2gIwgqOokUG6qYb7upRWUOYth/ecM5OSNCwAjqfK3sf wfDu38/46pt5QMSbKeZfaBUI6LAumCz67MZ7RiKuznSVEyFdBM5x8n8CvrBFlIItb65O kWhA== X-Gm-Message-State: AOAM530U8X4v1Hg5wY+vhemega+5fLTahAyk1aASQhLER5oiVU3xax8A SwA4wsuoLD8wpJ3DNltX6W+/mA== X-Google-Smtp-Source: ABdhPJyViQ8Z8H+OyXbZp9HaMbfOH7Rs69+lNR87yDPwggMJ9gLU1E+QxcpYWxzkmcOlxxHwHzGd6Q== X-Received: by 2002:a7b:cc91:: with SMTP id p17mr8817102wma.90.1595589701490; Fri, 24 Jul 2020 04:21:41 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id 31sm1011863wrj.94.2020.07.24.04.21.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2020 04:21:40 -0700 (PDT) Subject: Re: [PATCH 0/7] ASoC: qcom: Use qcom_snd_parse_of() for apq8016_sbc To: Stephan Gerhold , Mark Brown Cc: Patrick Lai , Banajit Goswami , Liam Girdwood , alsa-devel@alsa-project.org, ~postmarketos/upstreaming@lists.sr.ht, Cheng-Yi Chiang References: <20200723183904.321040-1-stephan@gerhold.net> From: Srinivas Kandagatla Message-ID: <94766ad1-72a5-4800-2c71-b7b875198956@linaro.org> Date: Fri, 24 Jul 2020 12:21:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20200723183904.321040-1-stephan@gerhold.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Thanks Stephan for doing this cleanup! On 23/07/2020 19:38, Stephan Gerhold wrote: > At the moment we have two separate functions to parse the sound card > properties from the device tree: qcom_snd_parse_of() for DPCM and > apq8016_sbc_parse_of() without DPCM. These functions are almost identical > except for a few minor differences. > > This patch set extends qcom_snd_parse_of() to handle links without DPCM, > so that we can use one common function for all (qcom) machine drivers. > > Stephan Gerhold (7): > ASoC: qcom: Use devm for resource management > ASoC: qcom: common: Use snd_soc_dai_link_set_capabilities() > ASoC: q6afe: Remove unused q6afe_is_rx_port() function > ASoC: qcom: common: Support parsing links without DPCM > ASoC: qcom: common: Parse properties with "qcom," prefix > ASoC: qcom: apq8016_sbc: Use qcom_snd_parse_of() > ASoC: qcom: common: Avoid printing errors for -EPROBE_DEFER > All the patches looks good to me, Tested this on DragonBoard 410c! Tested-by: Srinivas Kandagatla Reviewed-by: Srinivas Kandagatla ---srini > sound/soc/qcom/Kconfig | 1 + > sound/soc/qcom/apq8016_sbc.c | 120 ++++------------------------------- > sound/soc/qcom/apq8096.c | 28 +------- > sound/soc/qcom/common.c | 58 ++++++++++------- > sound/soc/qcom/qdsp6/q6afe.c | 8 --- > sound/soc/qcom/qdsp6/q6afe.h | 1 - > sound/soc/qcom/sdm845.c | 40 ++---------- > 7 files changed, 59 insertions(+), 197 deletions(-) >