Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp312620pxv; Thu, 15 Jul 2021 05:02:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz8WkpfnhklW03RGCPZ2djbeU4GZrER8ixPinnOYc51BpDxsmnjr7Ez/qK+pJv5Bafp1Dj X-Received: by 2002:a05:6e02:190e:: with SMTP id w14mr2390230ilu.61.1626350533709; Thu, 15 Jul 2021 05:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626350533; cv=none; d=google.com; s=arc-20160816; b=v/psH0phmFPZPkQO8OIc/wjzwVs0fnIkapdYruhzmg9ZOe1SJo81oXyuzLCxJIqhIP X7nwNLKRvc/jBMulD8BUP6/kGhMBfWj43uLXZ3o9bkmhiX+ngRPp7orGWvR7FLuWMCFp tsvwxjbt4doJemCdXJbp84XPKcLq/MfKZe+sbX+GB4XTvgo3IWNNM94eTwq82ENK5KIg hDgni+Bn1kZrHeO+ZuXxXed42AkFLq72cln6RyXyDkw2zbsyfHNrKvUGKHtPsTuLVPo2 8NWMewAUrS/qgANp7pXFb2TTWSDbHmxQ+hpscWtsqBPeFV9XDFrumdUmkHuXqbbTP0Mh b3kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=gsV66XE0EGcG7u2wmOs4QFlA/ant67YwT3lAEx/PPF4=; b=wzQU9CeV7tj7HG6faa3OzFKrlOO7mxPx/QLl0OdIdBXeQ1Ds1KarYfRla6FvQstnuT rRSFZ8Qo3utKf044pLXLF90oArOYbOEYL7U7yP0ITjCTrBhAeXXlWc99wZV2oVwFUU7K G9h63rT8197SUYObpPqR00ZQOPsJqT3DiZ4sl981m6U0d+RXPCz+WDy7KrBHLgC5ihMB nrAyTsQFPdmqHzJtQPSYRQU+p9M62W8ogsu6XNTLfu0kmtzf7unqiOSYaXNExwEbUIdq vRrAzTyiDqtkhK5l7+rzRR0VJKKsZuTiDq/OfD9O4Crs3Wg7wvxyu4x1OJkhcYCfRs21 Kcjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wIkAKP4/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id f2si5106503jat.114.2021.07.15.05.02.01; Thu, 15 Jul 2021 05:02:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wIkAKP4/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S241350AbhGOKfG (ORCPT + 99 others); Thu, 15 Jul 2021 06:35:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241364AbhGOKfG (ORCPT ); Thu, 15 Jul 2021 06:35:06 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46302C061764 for ; Thu, 15 Jul 2021 03:32:13 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id r11so7075866wro.9 for ; Thu, 15 Jul 2021 03:32:13 -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=gsV66XE0EGcG7u2wmOs4QFlA/ant67YwT3lAEx/PPF4=; b=wIkAKP4/H87UVy9+HYifgqffQYx1gkM/H7YB35NOf1+wZqfqPl2CQZaaA0WzIULntf 2b8QS9GaXQe1+ZRPYGAK667GQv3VOahDiFPceqU72tBooi5//iUK5GQH2GfOvinBM/Oc 4ZcKgePDycMWsVfjGYF8ql+vaQsxokOJtuQu5EO5D5p+RNjcfvdd0JhVKLlYA3qAB9NG nc8LM4g2EwRMpD+QSHKSeYoD8+Z0XKZ8pXpERuPc3VnDRsulTuu9lzepsCKAnkjogK0+ 4mXKMlkGpKSBy4qe1byqMF0C72mBXof5dTQTw50C7uA747tO6XvysXLtB+Tu9mSgroVZ 6fZw== 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=gsV66XE0EGcG7u2wmOs4QFlA/ant67YwT3lAEx/PPF4=; b=lg7QMkCqMfH6L7DdZkPbjRvFg5gDQvPG4SXadl2WZaLU2Va9J/Q621+LIRc/+0Rf2T q0n1o5rUspsRL/jCKSAQQf0MiH0tqj2FHBP4JaeOwqA+rBT3HaNdGIyq7IhVAyr/zgvo DlDKVCGscVUvyHsXmpD0jeLIRMK1I4T4XlGJbIpSV3RcTz2NJC/p4CQTzdap/Pz6HQuG vUqTFxHglZnmafRJ2XF7FphNpiUf6QUnAKhTYlIT7lk25GnZunvrsK4CPCKbazGX5QUj Z7mOUhMEhs7MjMBTAeb/NHRJPaRyxwBsHn1J42VxJ+gnraF7PBuV2OgvwKtks+Be9Q3e weLA== X-Gm-Message-State: AOAM532yHyTCn4iAifuqsRcQZiV8g7Ob4udM+XQMqSixJ4eI2Th8qgGg QD0how/6Tcnc2NkD8jnitX4gkYv5Dz06rw== X-Received: by 2002:adf:a1c2:: with SMTP id v2mr4609978wrv.155.1626345131549; Thu, 15 Jul 2021 03:32:11 -0700 (PDT) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id o3sm6086193wrm.5.2021.07.15.03.32.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Jul 2021 03:32:11 -0700 (PDT) Subject: Re: [PATCH v2 10/16] ASoC: qcom: audioreach: add bedai support To: Pierre-Louis Bossart , bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.de, plai@codeaurora.org, linux-kernel@vger.kernel.org References: <20210714153039.28373-1-srinivas.kandagatla@linaro.org> <20210714153039.28373-11-srinivas.kandagatla@linaro.org> From: Srinivas Kandagatla Message-ID: Date: Thu, 15 Jul 2021 11:32:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/07/2021 18:03, Pierre-Louis Bossart wrote: >> + rc = q6apm_graph_media_format_pcm(dai_data->graph[dai->id], >> + substream->stream, cfg->sample_rate, >> + cfg->num_channels, NULL, cfg->bit_width); >> + >> + rc = q6apm_graph_prepare(dai_data->graph[dai->id]); > any good static analyzer would tell you you didn't test rc before overriding it.. yes you are correct, I did forgot to do cppcheck after make W=1 C=1 These are now fixed in new version. --srini