From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A10FC433EF for ; Fri, 25 Feb 2022 13:12:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9BB001AD3; Fri, 25 Feb 2022 14:11:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9BB001AD3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1645794751; bh=hY+b+UxJo3LQJPkqB7vmC1GMhoZJ2z31w4lFYom5XMQ=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=CWOmyEJ9Jud+4Px9uRr2VbOoqxxS/tkCNh+cRxXZNbOtl5Qu9yduXMkXu/t0ARKm8 jrlzGgk9ELCnnW2BqsTvgzNUjM94kTdJKM6ClD9uy/sH4N/hyj6NIorUfpeijNOY7Y EwxGuSxFpbPgmm/xBKY08TQBwxOeGSatvXoUbJ/A= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 69771F804DF; Fri, 25 Feb 2022 14:11:20 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3C106F80237; Wed, 23 Feb 2022 13:53:33 +0100 (CET) Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8ABE1F800B6 for ; Wed, 23 Feb 2022 13:53:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8ABE1F800B6 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ev2UrRGQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645620811; x=1677156811; h=from:to:cc:subject:date:message-id:mime-version; bh=hDKTmx85+is62TviafHoQ6ixrMmVk+VEDH/EMNVBMqA=; b=ev2UrRGQNoSDWX2XdOAIfsCrOZ1kPT7LJK+QZMq7Qg0eB4EClssLDGPs Wbh6GcSQ2n3H7OgIbqvTGVKBO8+B2LBXBmJdbjXwvx/xzZeddp5juUyvx Xf5myMn3ARXofPsjiiIqor3sQXKMwLVs7Kw3LWFrCqcHMOHevJhbmOty+ A=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-01.qualcomm.com with ESMTP; 23 Feb 2022 04:53:27 -0800 X-QCInternal: smtphost Received: from unknown (HELO nasanex01a.na.qualcomm.com) ([10.52.223.231]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 04:53:27 -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; Wed, 23 Feb 2022 04:53:25 -0800 From: Raghu Bankapur To: Jaroslav Kysela , , "Takashi Iwai" , Subject: [PATCH V1 0/1]ASoC: compress: propagate the error code from the compress framework Date: Wed, 23 Feb 2022 18:22:49 +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-Mailman-Approved-At: Fri, 25 Feb 2022 14:11:19 +0100 Cc: Krishna Jha , Raghu Bankapur X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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. Raghu Bankapur (1): ASoC: compress: propagate the error code from the compress framework sound/core/compress_offload.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.17.1