Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4263388rwb; Sun, 7 Aug 2022 19:44:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR5AV/F02x0e6OJF8iwpG89WrbHeBJB5LOPF2pieG0KJzVLdJNNxm3wQ7b4D6ex5dHmRG5DU X-Received: by 2002:a17:907:2896:b0:730:983c:4621 with SMTP id em22-20020a170907289600b00730983c4621mr12777501ejc.502.1659926646162; Sun, 07 Aug 2022 19:44:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659926646; cv=none; d=google.com; s=arc-20160816; b=ie2uzXjQDQnUtxruJcnr6IE7F6SeNo+7kiABSkLeyFlViEaT8MCb9Lw3FVMt6OGav/ 7W1ixAkPlWq0xZpnegF6iEWSQLr225XlXYCmV+5MtX7VMtLt+z0rgB6XNuplOnRAh2ep LpYxJ4hIfEjERmlzZtmlRWpC9hNpUpkJYiw0ESJxf/wqpdwXBKQykHsEFNTLbPpRioWP kFHXEqqojP+1rDHn/GpNw5v3Z1wH02kwna2qOe3UshFCJ12KCp8Qx1AnBX/6ljNHQMvY m8DjlO76fBcJMoWVqXGSd1ZEMiiHW3Q1OV75l9+v+HTe2PGlvccfOvhB6nEK8O5gnjn9 +ogw== 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=5bjk5nixgrJ8H45XIgsriRuRj1+JTkU4HGMafcAUB+w=; b=aqqs4CPLu2fE8VJaUdV+44jifbIC96fp7uaEG8UD2qPqlitY37YIHhxGF/LepuMnRd ItgOKYw+UDYusIazOOvGxeO066ODxA/lPixdaaRmLoY6a2kjLeX3ZoexfsT7ty81U+Vk id/6cpSvA6MtgimbooLKzKWFxA2rRoxUPPRgF9Rv2TsoML/igsjkHlbjLCTZeQE0XZQR 0TZmvUVcgGRLzC6RtGcKQuVJaEMBkGwI1joyjmnZYmUS/ieG6uOa0DwI6tJYXeS46n+M UnDwZGRjmn2uO17yShyIS8RO1yed5SObt0T0Iv8D9OhvZ+UvCmOgJ4xAIdkAZVVH5VWF e4/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o7VCmRnO; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fu14-20020a170907b00e00b007306a5f1616si4886962ejc.509.2022.08.07.19.43.41; Sun, 07 Aug 2022 19:44:06 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=o7VCmRnO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242381AbiHHBf6 (ORCPT + 99 others); Sun, 7 Aug 2022 21:35:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242130AbiHHBel (ORCPT ); Sun, 7 Aug 2022 21:34:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 184F3DF80; Sun, 7 Aug 2022 18:33:01 -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 862A7B80E06; Mon, 8 Aug 2022 01:33:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44C3CC43148; Mon, 8 Aug 2022 01:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659922379; bh=Shks8rDUt6fwvZCiVNN+z/KX40yACmnhgAaxaywLQ9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o7VCmRnOEwav+3e6Cc3fYPavgeBOBn7Wikvnls6THVY1y0N7Di+c9nfiKCmD0frgO OKhgl5WIerE+c1vmPpOdlnh2hfS4+zAowDZvPPiDaVjZvp+AVDfZ3J3wfOmKiX/7xD z1t7WeCAHH8SnUJzletzXFDxb70TgBQ4xk1lyw8L3mqWgsPa5VOEU+pUYcEDYzsEiv Cs1PogkCg+xpTIAB9C10IfZh3NOuy9YlgWvLHBMSEacuTYVaCk11E7geKIk6U3e7Bt 7UUgPJVVX+z9Yt1e+PNd42AhFV1fO66rSfVe8IFi8Z2fM3cC2O7rMxNJJJ1RDvfjbj dN3StCL145glQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Guo Mengqi , Hulk Robot , Mark Brown , Sasha Levin , masahisa.kojima@linaro.org, jaswinder.singh@linaro.org, linux-spi@vger.kernel.org Subject: [PATCH AUTOSEL 5.19 34/58] spi: synquacer: Add missing clk_disable_unprepare() Date: Sun, 7 Aug 2022 21:30:52 -0400 Message-Id: <20220808013118.313965-34-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220808013118.313965-1-sashal@kernel.org> References: <20220808013118.313965-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Guo Mengqi [ Upstream commit 917e43de2a56d9b82576f1cc94748261f1988458 ] Add missing clk_disable_unprepare() in synquacer_spi_resume(). Reported-by: Hulk Robot Signed-off-by: Guo Mengqi Link: https://lore.kernel.org/r/20220624005614.49434-1-guomengqi3@huawei.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spi-synquacer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-synquacer.c b/drivers/spi/spi-synquacer.c index ea706d9629cb..47cbe73137c2 100644 --- a/drivers/spi/spi-synquacer.c +++ b/drivers/spi/spi-synquacer.c @@ -783,6 +783,7 @@ static int __maybe_unused synquacer_spi_resume(struct device *dev) ret = synquacer_spi_enable(master); if (ret) { + clk_disable_unprepare(sspi->clk); dev_err(dev, "failed to enable spi (%d)\n", ret); return ret; } -- 2.35.1