Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2422651rdh; Sun, 29 Oct 2023 15:57:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNddLmhf2ixTsi4dDOr2ANzYxyV/KVihf7FbAoq/ZoimlHtaiWAzRItXr+ORdHn8U7Hfx7 X-Received: by 2002:a05:6e02:b45:b0:34c:f2cb:b2c with SMTP id f5-20020a056e020b4500b0034cf2cb0b2cmr12891873ilu.19.1698620268884; Sun, 29 Oct 2023 15:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698620268; cv=none; d=google.com; s=arc-20160816; b=Q8rBg4eX22Je0kDrpAa1P5rk/3oKYO/0cSlr1Lkzgq0tG3+GUi6NX2WC9QAkIBvwrv fdl4j/cXylZRQV+l77mYz7i/APDuysfOG6phjB3atEJ1pUlj+DvOCUh9ibTTrZAZhnUj 7AfKHyKLsOS8bIqcBJs8HepHn9J/MOk8KQ3YNAaed9F9BhIr5cqI7+tfvRlviO9xdQih GT3YlyeN5+6DQAjAoccvPex0gqUMz+8DyZ0LcGkaKzcJSrK11m4qWADxlV18uhxYrhJF CUgNyYEHJX0EcukVgKa5VUt1UoQrxpc4Xip0VYJ64VdBO9qS92xpDhKA59JZL7wHMU0U oDyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/jP4LYTSZpG+4aTsLq5SBip5zxWRVsmT4WAtcfRIGKc=; fh=taSniAg8qcL5WL3fqzibW9GagkSBA+DI1fE2t4ZW09U=; b=0N9rTlUTDU6gt9JvRELLJ53+SKKz6pY5ZOCk2z+Td3Zdye9FBcWZMKaV+yyYgsR5yv N36ZLPrhzAYJDUbadZPnGVsaFhdRr3joJ982FJAhB+HtSgincOZBSXeHrTZmous+DIk2 rHnDDKewdhxf2ALXxhTjaTM8TZvwgWhjlrrMVNCawJP+dOazZlighTU7MyJJUIdCcdxR jEvFoPRnpZ59LUDw80xvoX1zthLf7ZY/NWyMwTNJxXZj6y8hCUwneiMMO8E479cY0RfC DEWAyMX7m9XMHUgMrEw6DFfqiKALOGPmufK543O7jzrjFsHjSEVTa9zR/1xN2azY1zPO Uuyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TD5CqIn0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u28-20020a056a00099c00b00690cd91cee7si4112614pfg.287.2023.10.29.15.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:57:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TD5CqIn0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 043DD8087F0B; Sun, 29 Oct 2023 15:57:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231484AbjJ2W5C (ORCPT + 99 others); Sun, 29 Oct 2023 18:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231336AbjJ2W4u (ORCPT ); Sun, 29 Oct 2023 18:56:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6206E1; Sun, 29 Oct 2023 15:55:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99EE3C433C9; Sun, 29 Oct 2023 22:55:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698620140; bh=3WqHVuQmYqKjH49ZdI3DyMGWGcEBUXr7RFhzrjTJFhY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TD5CqIn0imcIWVLJ/3i+5GeO4pHgAQq3nAC1hyMiQNNefLP/PSB21A7t334zLICbS D/7JXhphfMqfa+GlogfibeIUMQnts6QdGffKgs2WDtSJVX8LYkNdtO6b8F2XwCLZc1 I1uvRIO/dsKse+KZpU09OWUvqJb3/pul+qqi3yMKb8ciCWyPxB16p8/lZt+ozvQEIM ztgMVC5wkyVtgMWodzPs+Esszyp2sbvefqef09Cv/u0kVnPhTooYU/0kTLOAq1GNCj 7Uvgf9i9F0v/yuChg724ctBO7+DWT66IIItTZv6LGaqFb4cl2vEskCjWDWkN9SZkqt Fjb7aKd6L/Nzg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Roy Chateau , Mark Brown , Sasha Levin , shenghao-ding@ti.com, kevin-lu@ti.com, baojun.xu@ti.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 6.5 29/52] ASoC: codecs: tas2780: Fix log of failed reset via I2C. Date: Sun, 29 Oct 2023 18:53:16 -0400 Message-ID: <20231029225441.789781-29-sashal@kernel.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231029225441.789781-1-sashal@kernel.org> References: <20231029225441.789781-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.5.9 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 29 Oct 2023 15:57:44 -0700 (PDT) From: Roy Chateau [ Upstream commit 4e9a429ae80657bdc502d3f5078e2073656ec5fd ] Correctly log failures of reset via I2C. Signed-off-by: Roy Chateau Link: https://lore.kernel.org/r/20231013110239.473123-1-roy.chateau@mep-info.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/tas2780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/tas2780.c b/sound/soc/codecs/tas2780.c index 86bd6c18a9440..41076be238542 100644 --- a/sound/soc/codecs/tas2780.c +++ b/sound/soc/codecs/tas2780.c @@ -39,7 +39,7 @@ static void tas2780_reset(struct tas2780_priv *tas2780) usleep_range(2000, 2050); } - snd_soc_component_write(tas2780->component, TAS2780_SW_RST, + ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST, TAS2780_RST); if (ret) dev_err(tas2780->dev, "%s:errCode:0x%x Reset error!\n", -- 2.42.0