Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1074510pxm; Wed, 23 Feb 2022 17:27:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2i74Pl/noifSN/IXERY5q1BpZOPGWcSct9q3FBS+gMmbdWSwScstZv28Aj2vJx6hnl1A5 X-Received: by 2002:a63:eb0c:0:b0:373:334d:c32f with SMTP id t12-20020a63eb0c000000b00373334dc32fmr440664pgh.358.1645666035544; Wed, 23 Feb 2022 17:27:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645666035; cv=none; d=google.com; s=arc-20160816; b=B+5KzjBjnheG2Q8upGnWtPwHXtlqSYNA2YUu3zyazIyGRDeSDIx6/2uS+u+nnB3cQY hz/tbgmmeNZEFoLby4cZuSehp6oNuo4FPh3dBc65a0lK4g+Ms1jlqPfLmJKEeiVwmxXV lCx6JaQmUrK3jfddziyViZnM/nA5bdxCJgy5cQt4ME1HXgTitDTPLiJomd+l0trljbJA PnrnD2n0K6J7+Acl0YT2DvI/zVByhHgVrnvnYKISTLxeD+v54ekgwC67WpjygwQop6Ca Y+bohixTzpXPZ8IgBhpXeLCoJPUaQWuupzb/MlffOwvLUoGqN+dWDHCJBEEsMahvKEpw yS9w== 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=hDKTmx85+is62TviafHoQ6ixrMmVk+VEDH/EMNVBMqA=; b=fVYt7EiiUIjrVwf1/WfJ9RLTqP8aiDnO1BeTY8GQN7o053KWUch6/KVWRPtnNQN/6Q 1KypcX8mSe5aayeIMhO6wme3lCTVj70a3x4N3VePxjZWvr2Jv0gnPy4cgp144kkoHasO fJ1BB93qm2VjkzXuh8+9R1b8dsIusZsFwp3pEuz/KinLg6huEQtED09pzQLrHz4gEDjd fVEFcx7/8xk8uoq27bPlifkgKL7AuK7zGVnhKKXAS4f9t97Ez689Th+DmSM0SkocOemv dWh0TIbw8NbwDGfx3OcIDS5PzXIhoG2H/D9iCxjYiMaYdEgmyiCUxoogD4IL1hyX2/0s pSKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=NAYkFZRD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p1si1139196pfo.274.2022.02.23.17.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:27:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=NAYkFZRD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 073A71D3D91; Wed, 23 Feb 2022 17:08:20 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240497AbiBWMxz (ORCPT + 99 others); Wed, 23 Feb 2022 07:53:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231700AbiBWMxz (ORCPT ); Wed, 23 Feb 2022 07:53:55 -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 CE2FD91AD0 for ; Wed, 23 Feb 2022 04:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645620807; x=1677156807; h=from:to:cc:subject:date:message-id:mime-version; bh=hDKTmx85+is62TviafHoQ6ixrMmVk+VEDH/EMNVBMqA=; b=NAYkFZRDQoiEodLPGT/6uAarOt9+9q+inX/jTg92wchCs7hcrYz2bp7A ajdGlDLGyT6GPnAHaLsW82NtUn88TADqO0hFBNAgaLAJUFBpJRDNTcReg h5pvg5BEO4OBhiFNaGCWt16HhgqWvStp/oFDbbniMw8/VnRXkYDGYptL6 M=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.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" , CC: Krishna Jha , Raghu Bankapur 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-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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. 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