Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp122824lfu; Mon, 4 Apr 2022 21:54:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhFw5G2/eM5I93NPs8fWTrKjmCrtuFjLvf7cR90xjCecGDHkmWjIOkZsUBJAcyww0k1bs1 X-Received: by 2002:a17:902:f612:b0:14c:e978:f99e with SMTP id n18-20020a170902f61200b0014ce978f99emr1712653plg.23.1649134442076; Mon, 04 Apr 2022 21:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649134442; cv=none; d=google.com; s=arc-20160816; b=j05Du2PVm+sj8T0rVLovCh9/makbpXbXczyKpptIrJzGU847K2dTyfhYTlvDVYPc94 nC35brPmNfAAsbDcarQjEpe3P+Wmp3OrE2Et1mlLAcvV40fTrm9pvKLaE/wzzNfp1af0 NdikoLFGO7maMs3zjVWb343LCMtJmb4yE1oyHzXXrRJQ5Wooq5L69a0zG+POEb7PTjs0 2cP59Xlf9OU4CY+hDQE3MWq1dqjU/G70YdFWOEPqs8mYrW9ZSGAV5LlNV2HHjHN4WQqm ICS3L2AnvVGjzPgo4CUUELm6PVhqy0nMWaZU8a8A8E8YIfFFaoB4cWI5eo7UhFTyq18s A80Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QNPAVChco9wbNgOz0Ppwl01//PF2PKXLRQq9wQ2f7w8=; b=KhP/9bIvWk3W2npxbAjsaNyqlPjVmpZLG4OoxCr1qlp/iMMSurbxM0fjmfIucbHXL1 bcCc4yYGmQNyZ6QiK7po34VAqOvB/hVhO4rL7Yxx2ygtCS0xtheIgMrhFOuIpFlwWw2W Z5L4AN2K7YKO2HKQ8Qu3mSvjbxsX7Wph6GeFfzN16saVQWGg48yUpV/PRbV8sjuoGAO5 FxOuWIbRROlJIriRwaf64wusX6VzMgRtGbwIRT5I90ZIaBGGrYZQJSAbt1Kyxnx0b2bV 0qj4AWpAtjMTmN0H8tmsAX7S4hk0QFa1AQ0M9O0G4dhBvqcDZPeiSeXCWdJT+ybgUv+G cdtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z5dW1I05; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u6-20020a170902e5c600b00153b2d1651dsi12973880plf.293.2022.04.04.21.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 21:54:02 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z5dW1I05; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99789F20; Mon, 4 Apr 2022 21:20:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbiDEEW1 (ORCPT + 99 others); Tue, 5 Apr 2022 00:22:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbiDEEWG (ORCPT ); Tue, 5 Apr 2022 00:22:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB08C532CC for ; Mon, 4 Apr 2022 21:18:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 69530B81B7D for ; Tue, 5 Apr 2022 04:18:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85417C340F0; Tue, 5 Apr 2022 04:18:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649132310; bh=DA6uMLvp/9YEcI9TewrH+tVj6sA1lozPencPzepXYCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z5dW1I05rgukaZq1vTHq5kXrq62Y9a6G+Lz8OxCfzky1ft9SSCDnDFexN9sKb6/iT rc9tnobefW7WAvK0XN5bVdKjPyL0YIKvtm1/TXyUNuDEsnPci/sJow4+xbBbKWRm2q Mh3igWR7KY3YbFFuOMSQCtHpOvZfA5V9Rxidq8jgGjyrB214SwwudkS9cj+mxVWwUw bsa8y0c2zni67nvZsEB5IZ7EBFNB9ZAUX8X3fKJGUYopb2qgrjeEJva8PaPiFN+G9P syIittDkBx7FOp3/D2Tigx+zKO5xEa7mVafgWp6rYu6FhUeJnH0Z8WxgVCrbIfaV3y /gVgDbdsVC1kg== Date: Tue, 5 Apr 2022 09:48:26 +0530 From: Vinod Koul To: Wang Wensheng Cc: yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, xuqiang36@huawei.com Subject: Re: [PATCH -next] soundwire: stream: Fix error return code in do_bank_switch() Message-ID: References: <20220307074039.117488-1-wangwensheng4@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220307074039.117488-1-wangwensheng4@huawei.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 07-03-22, 07:40, Wang Wensheng wrote: > Fix to return a negative error code from the error handling case instead > of 0, as done elsewhere in this function. Applied, thanks -- ~Vinod