Received: by 10.192.165.148 with SMTP id m20csp218969imm; Thu, 3 May 2018 18:35:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZovpp0t2y+Kf6SyK78iMoYqaEdcrzIWY6ZOOpscBWwT+aS352qu7pkkAC+5YH2TsPBbcaNk X-Received: by 10.98.200.152 with SMTP id i24mr25225904pfk.35.1525397740743; Thu, 03 May 2018 18:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525397740; cv=none; d=google.com; s=arc-20160816; b=wFXhk76Gh+FtW4iVD8SM6QCbQq+crvG03IsD3UleKLHi5dIVN+My63qaYaC9KQkYmk dJkilaS2G0mNfgBuz8CKWEtbA0biq+CpjYgip7HqMapQbkPSRv6jJQDZq0Vwb90t/Crv b7knmTqaJxln/HK43A3o/aPi1PD2bh19YN1l8nsNN10iGMYGW5DmeHyoX1r2dGNIXBJK eAIJxuPF0PrDYy4rGqY+JbiM01diRi55l2jmw+yT2eeNPrDQeBrnKrrtZvdXpBUcv/HP VYLIuKR3IBSJpAYeDcvyho4O2V2qZ7IeX1YrxZ+W3lLvk9HjSgaC2Ov1cFBNpVIHDNt9 rQUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=Cv9VJDzyOIrvqFtgquiz18lwgT3zGVcW1Y63l0p9oeQ=; b=AMAKAS8whKVLcLTSTzxQKG+sXNRmb59S2MkVgM9RTp9WVVaFuaIBEZpAADu6lBiRnj 0ASvCIVoTqTAo1UQSK0yp6kRwsIn5NDeicAz/p1JyVwGLwCVX0D0iUcGcaD77vD/NKZF fOeIXv6AsyCYVY3eyAhyvLlHHfAEQO/54V0BhJ7843T93XfzyugScwMwTZ8pb18iCB1w qHqCqnGaJgmmq4pdj2hlMu+dFzPdP2DSvLbDaf2M1sN2LH+E60V8oeT+AtS83UuSqfV8 CwavBMSifNypDusWoIEyhDKOAcEkBbuvMBxp0WPaBFWkCNyfc2xbJ3wJURXoo5NNzvy2 HXew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bDg3ApXJ; dkim=pass header.i=@codeaurora.org header.s=default header.b=G74zmIgK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p83si15024639pfl.279.2018.05.03.18.35.25; Thu, 03 May 2018 18:35:40 -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=@codeaurora.org header.s=default header.b=bDg3ApXJ; dkim=pass header.i=@codeaurora.org header.s=default header.b=G74zmIgK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751275AbeEDBfQ (ORCPT + 99 others); Thu, 3 May 2018 21:35:16 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:32872 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751036AbeEDBfO (ORCPT ); Thu, 3 May 2018 21:35:14 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B333E60C67; Fri, 4 May 2018 01:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525397713; bh=umvhzc1hftA/2AyKHnhkKI1sKvX5Sw+PG2VwRan9Sw0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=bDg3ApXJmJKpa1qRrkPMntRMdwnLnA7wuPx+Oq3UMepp2DwVCFfnypLuXBbA45KOu zb0i1w8IkAO/L6LdYvjyJpt2JH3ZXssT7amuauvCJMo0EnTMDVkNl4uUqEhAcMEnBF ddseehFSjwxjO56ZfLysfX60DRXzrvNBdLBPTV5E= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.134.68.165] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bgoswami@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AF09860588; Fri, 4 May 2018 01:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525397712; bh=umvhzc1hftA/2AyKHnhkKI1sKvX5Sw+PG2VwRan9Sw0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=G74zmIgK6Vu1V1mqFyCJjAO7W/1Sn1kc+uB8ok4CxD/OOem1/O2ed6gHk/AlhdPm4 uU9P9kmVt6bYPUyXRMzR1Y2D8VVeyYObpWltPzkj8mpgFCYnDcfGa4RSvCvlAHdHA7 a4NnlNK1093ajN7CUT3dxs7pwXGDhWTof9tlaj0k= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AF09860588 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=bgoswami@codeaurora.org Subject: Re: [PATCH v7 07/24] ASoC: qdsp6: q6common: Add qdsp6 helper functions To: Srinivas Kandagatla , andy.gross@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org Cc: gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, tiwai@suse.com, perex@perex.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rohkumar@qti.qualcomm.com, spatakok@qti.qualcomm.com References: <20180501120820.11016-1-srinivas.kandagatla@linaro.org> <20180501120820.11016-8-srinivas.kandagatla@linaro.org> From: Banajit Goswami Message-ID: <28f86f87-b28e-bec8-1a74-a218afeac0cc@codeaurora.org> Date: Thu, 3 May 2018 18:35:10 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180501120820.11016-8-srinivas.kandagatla@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: > This patch adds some common helper functions like translating dsp error > to linux error codes and channel mappings etc. > > These functions are used in all the following qdsp6 drivers. > > Signed-off-by: Srinivas Kandagatla > Reviewed-and-tested-by: Rohit kumar > --- > sound/soc/qcom/Kconfig | 13 ++++++++ > sound/soc/qcom/Makefile | 3 ++ > sound/soc/qcom/qdsp6/Makefile | 1 + > sound/soc/qcom/qdsp6/q6dsp-common.c | 66 +++++++++++++++++++++++++++++++++++++ > sound/soc/qcom/qdsp6/q6dsp-common.h | 24 ++++++++++++++ > sound/soc/qcom/qdsp6/q6dsp-errno.h | 51 ++++++++++++++++++++++++++++ > 6 files changed, 158 insertions(+) > create mode 100644 sound/soc/qcom/qdsp6/Makefile > create mode 100644 sound/soc/qcom/qdsp6/q6dsp-common.c > create mode 100644 sound/soc/qcom/qdsp6/q6dsp-common.h > create mode 100644 sound/soc/qcom/qdsp6/q6dsp-errno.h Acked-by: Banajit Goswami -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project