Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2932886rwb; Mon, 15 Aug 2022 14:19:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4lS/rAMsBo/WnQuo5qsOk2AHe7nnl9wQcODynOvbajMPHBm0zSx0hDiKZiOCpRXQFiLTtU X-Received: by 2002:a05:6a00:bc5:b0:52b:49c9:d26c with SMTP id x5-20020a056a000bc500b0052b49c9d26cmr18071845pfu.73.1660597957248; Mon, 15 Aug 2022 14:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597957; cv=none; d=google.com; s=arc-20160816; b=sQgFdlhSQMt8Zq08xX0GiG/Tu0LGy9XFzhk4f9N+Ks4kG6eSHehysfHGdwszb6X1Gb ZlpfTT2Fjar/mdwWm2IRNcGCqaieNYawaBAJqIGnef/C9s3HTH8fM59b7sdbt1pPXNMn wEqrKAwcjQTbhQquN9mPKsjyMuqWrTZvsGlucT/aMzFtZOqzyUIFbiJJsmFB9bSXjthW 0Y4fsbL7JZXmEq3ITZ1Mz62JHjYDmpd9C9NpqlChwWsJEUobSmC79nImw83oHd89luff soGLS+BSVVvfmAFiEP3Qb2CoaYrwp4AaUicLJHPm330emeBr+aoO1VAhZZA48ViQycpc ziqA== 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=U3tWa8q9+XovX1Qv5kd3IE5zl13JIPSZ4m1xXC4r9pxyPdlwM5L7a1VGAF0U3NAr0S N1H++2+XWrD6BQloKCoYqQFUglvdBC6ym2u79UKgHphEZLCxIWxNyO2oswpvpKg/wBSa t1PDHTUeLzk7omjpekBdqzTXi4uppMuAHfXpFyOzIYKYOfidmAaMaIW1kLTe6Eiurhu7 kOzVIJ/sUCTGmzzDzwZD2ve2dcxwi5aieaJTjPuh80nkYSEmy3olTAQFk0jR4t3P1tEJ wxjg7mlY1EJVV8ucegoz3hOxROStckuJVslkgUasyYgXrrrLk669V9gNXDJJAmdkYeoD 6IEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Eh8QpvKw; 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 o15-20020a635a0f000000b0041bb35b5dcasi11318726pgb.576.2022.08.15.14.12.25; Mon, 15 Aug 2022 14:12:37 -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=Eh8QpvKw; 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 S1346054AbiHOU3l (ORCPT + 99 others); Mon, 15 Aug 2022 16:29:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347306AbiHOUWP (ORCPT ); Mon, 15 Aug 2022 16:22:15 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D46F33A31; Mon, 15 Aug 2022 12:02:18 -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 sin.source.kernel.org (Postfix) with ESMTPS id 9ACEACE129C; Mon, 15 Aug 2022 19:02:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80CC2C433C1; Mon, 15 Aug 2022 19:02:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590134; bh=Shks8rDUt6fwvZCiVNN+z/KX40yACmnhgAaxaywLQ9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eh8QpvKwqEBvRJjbEY+1SVpCjeNhIIdvuqm2fFxKPr+BNPKss7IdK1SvaXkqpfVG6 WYi9Xb8oA1k559ntLnmlIYH4XwJ+yCZPRvvDFtyvom7zDz1hVhVeIWR1acbehRN9M+ cCJtV+SMGSZB0wyKO8QB93Z+xzqYa567KtUt015Y= 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.18 0161/1095] spi: synquacer: Add missing clk_disable_unprepare() Date: Mon, 15 Aug 2022 19:52:40 +0200 Message-Id: <20220815180436.227010316@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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