Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1523097pxm; Thu, 24 Feb 2022 05:00:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGJfq0+asx1qrB1KzKlT+Wxld5p1IdX2CFnFuSwzTz+UmqdXvprXk02MefEFeYPrpojyM/ X-Received: by 2002:a17:906:278f:b0:6d0:432:2bbb with SMTP id j15-20020a170906278f00b006d004322bbbmr2231240ejc.160.1645707657112; Thu, 24 Feb 2022 05:00:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645707657; cv=none; d=google.com; s=arc-20160816; b=IqWuqrtnwB9ydTDKKygkMce4wdnRm2kTMHH6BegACIl4zu7qegx1SKzmCxH4bionHp zZ7wBlEjHcBVMXmO1tE+nAgLK3Zx8AkWAIq/Z0M6UxXk4jS+b302cX+BJhVAQkbai/CL IoVBGPoRHiEARE1bXGaebfJze4lVVe5a0c60kP4tKnksVWhldrWg9gv/FCPoS9DEjc8X ZcDCka/nViJ+/aESywzdIvz1ZAeLOt83jCfoVUG74rbmvfn1Hm5yFfSiwvVLvE0lP7Fb ob0QPR8AC2OzzBncmoYEa1xHGwWTOGn6tMr6VDeNrO6P+J5KfGruixlJUHWNq8dXCKk8 GiUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=BzUrG8s2LgYooYxvt/wrbsGOBCwEI54uyGiHOgTZTM8=; b=USNRL/S2xuS4LRWv0N6u5uHejD3ObBAEmm57+1kQsrsvimvzehUSCKqbznHtC0Jg+G +3xrQXQyM+VF/zeyPDF9ub6qOxERPJrm5e9t4AxJW41xw0qqgloMHM0wxzhfpa2qVfbb 0nSNF4miEMavvenXv5b3ZVleq4eha8VgqETosHge3KhJeOswj/SZw4P4pFvoUoHK+PAJ PY99bP553FWTa8rGpJ0q3JMZWDnG3Exoj+Y/cIANmyjTwUcv0jd1tdsPpfdcx1V1En39 CmBlpDk+DEEsk4HX0OF3mEKU+5qS+FYJCnqlANPb/AYMx9JPbR6ERy9+tBmza+U4jTcF mrdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=gp3nvw1F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw1si1717868ejc.47.2022.02.24.05.00.32; Thu, 24 Feb 2022 05:00:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=gp3nvw1F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232775AbiBXMTb (ORCPT + 99 others); Thu, 24 Feb 2022 07:19:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230396AbiBXMT3 (ORCPT ); Thu, 24 Feb 2022 07:19:29 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 830E01451FE for ; Thu, 24 Feb 2022 04:19:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645705140; x=1677241140; h=from:to:cc:subject:date:message-id:mime-version; bh=BzUrG8s2LgYooYxvt/wrbsGOBCwEI54uyGiHOgTZTM8=; b=gp3nvw1F0aqiKDh37HeJiMpLLtULdrH6c3RGjskpoYAz2gFi7FjwGtbU rtU+6+GuWka8T92KZ9XbbtqQdLpgT1/EtB3KXfog3bdR8DtmzRwdlUoPt u2M8uYoZxn6vFkvf7MxgNmC8Te8ttkUsQnsArP9psNhg2e4Onn14C4VDW I=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 24 Feb 2022 04:18:59 -0800 X-QCInternal: smtphost Received: from unknown (HELO nasanex01a.na.qualcomm.com) ([10.52.223.231]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 04:18:59 -0800 Received: from hu-rbankapu-blr.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Thu, 24 Feb 2022 04:18:56 -0800 From: Raghu Bankapur To: Vinod Koul , Jaroslav Kysela , "Takashi Iwai" , , CC: Krishna Jha , Raghu Bankapur Subject: [PATCH V2 0/1] ASoC: compress: propagate the error code from the Date: Thu, 24 Feb 2022 17:48:32 +0530 Message-ID: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Propagate the error code from the compress framework for the timestamp query. This error code will be used by the client to handle the error case scenarios gracefully. This propgated error is used by direct client like Audio HAL through IOCTL -SNDRV_COMPRESS_TSTAMP response, further this response is sent to upper layer, based on this error audio related usecases related to render position and presentation are handled. Changes since v1: - Remove initialization for ret, since it is updated by pointer function - Added new line after ret declaration Raghu Bankapur (1): ASoC: compress: propagate the error code from the compress framework sound/core/compress_offload.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.17.1