Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1864768rwb; Fri, 19 Aug 2022 10:39:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR6a01VIn2XQ6oJyLXZzu+rRlQMvJ0BY70H7TN7BPmDpzuCCxF+zTL1/qjt7bNoKzjQLT8QI X-Received: by 2002:a17:90a:1b66:b0:1fa:bbb5:8a5 with SMTP id q93-20020a17090a1b6600b001fabbb508a5mr9498200pjq.216.1660930790846; Fri, 19 Aug 2022 10:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930790; cv=none; d=google.com; s=arc-20160816; b=X4G0xX3EE+0hg/rjU2rsb5+tXEjKJhyIwlnmPR4qVXPB5jtELpAprSxrUxbS0YUVQ3 viqbZVCU7D8sCbDoummIGvefq+F34dgg+KOPQKzFDC/M9A7ySZLf25mLkBKuP0cJz/GB bYwwy2algK//NbYoQdi2olLmyq0J0QYAetwzpydIo3+pIirVCYAjedxXBJbrvAY2ULZt UG7W5RNQ/tlSw29BZI83zhR7agJixHS7Krmpyk+p2Kr1t2D11Tl36IuE1KKOEfntFWax KIxJli16A+1Pz7EFrrIn/zeQJ48zqLYCj6CrqOl2s4WJ7HpUdD2YTYpDnsDYQ8IGoIng WFpg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5bjk5nixgrJ8H45XIgsriRuRj1+JTkU4HGMafcAUB+w=; b=c7DhefC2Lxs9Cf4QMPkJ8C7+EpcYMLUSiu/Qq2c8n+950atsIOhPDHPZCHvi07u/BD 2EC54Zu1xhkw3juB/q+IjZTUFIv9B8SXMqfKhv4UdLRTPTxwFZaOc3HwrnsAt6gQLsGe rszTA9QC2se8IGeBDYEQ1rQD30R6LLqS6W4aUeXCY0z/30CTlk2XalgQs4z2pmGa3yhY Yqc9Cek2n2bgkH4bbkKIcFvAk3MCmvJvapzpte9Y1ZIb0elGWBuMsCPRgdOaA0EqF4vY MYuTbYuq/zdwJucTMfKNLiJOwtibjJ2dCQZtejNL2aVxcS/Raf8hwxHk8IYEgxugux7R xHcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iyHfEBsB; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n14-20020a170902d2ce00b00153b2d16667si1058466plc.623.2022.08.19.10.39.38; Fri, 19 Aug 2022 10:39:50 -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=@linuxfoundation.org header.s=korg header.b=iyHfEBsB; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350738AbiHSP5I (ORCPT + 99 others); Fri, 19 Aug 2022 11:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350710AbiHSPza (ORCPT ); Fri, 19 Aug 2022 11:55:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE716AE54; Fri, 19 Aug 2022 08:50:08 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 54C9F616FD; Fri, 19 Aug 2022 15:50:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5425CC433D6; Fri, 19 Aug 2022 15:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660924207; bh=Shks8rDUt6fwvZCiVNN+z/KX40yACmnhgAaxaywLQ9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iyHfEBsBX1qwtpLkB6P5LsGP4RC/sP29Snde7w//lp4WW9aKFDIoiO8B9Hg0HDT1A xUQsJ3Edg3HRyDLETyQUBtFUuUXy31uspMTjrpyvzq0xBgVkgBeGP+1qtgwcElfkdk RwHZ/HoMm7hKH6U/RmvNNdR/hDYlSfx6K6Y0JoJk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Guo Mengqi , Mark Brown , Sasha Levin Subject: [PATCH 5.10 093/545] spi: synquacer: Add missing clk_disable_unprepare() Date: Fri, 19 Aug 2022 17:37:43 +0200 Message-Id: <20220819153833.425716831@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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