Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3026828rwb; Mon, 15 Aug 2022 16:25:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR6l3smT5yYd0iCwOjLtcydBjoHVSYzJ3BmGr3gACWmYqTSXzpH0M652cOFKkXIlVOA7xK5D X-Received: by 2002:a17:907:94d2:b0:730:87c1:e86d with SMTP id dn18-20020a17090794d200b0073087c1e86dmr12222910ejc.37.1660605816077; Mon, 15 Aug 2022 16:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605816; cv=none; d=google.com; s=arc-20160816; b=TnOU49EWyaPBb9JaPT+fDvxFpXVAfwZRSwLPkyDHj1LI117CT+jkG0JwQnt2h1gqhc s/J2ZIBu7bIrD3mjphk0mpH832O6oWifq20Y8Vlk2JFM3YjsRwt2SMlCmr3eI9BWM9tc NgUNuft0Ccel3wU0KGp2hVHz/72JkKiBgy4OIzyjtpIQBThDs6n5Rojlb6epU84qUrEq nsbzNLxnj7wTO6ojEBSBTtSseIe15BfIh4ELLVDXtRs1svCxVgoP5IBmXjWL0q1FEr1p x97nC9NEknKMwrhNt4JtOkdb9Jive5NOKBYXoHdW5UhtvnsM3BuiD6SRpPkwOPvU50Mp sPsA== 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=l1Rstkj5dDXsSH77Wg4J+SvVUTFB89N8RHyKPqY3fTjgIFK+2MaF4EULN58pIkOD2N Z+xAGbKsDcLXKcNhZN8j31BLvXGaA3rMhnlk1nBJsOWT0+g9HmvFu4WCv5fu5lhvWUao CfCqjFMpPIVbNWVfmEcbp+q4W8XffGZPW+8FPuTOffsx8LZfk7AIfRecsc5Xk0WmZ5fb H3ibQPm3ImpHGJpNMPYEsNJwtTq3kwBMZP0fqbSPGEcM6JwWrkL5w0yc2czYCtKdjBRS Gf9u4px0jBUF0nqUIYU51419CS3gx4rRrnn+HT43TmoqjAkxW8CxTO9lu2+EYkLzxD6n DLHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wQQB+OI5; 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 au16-20020a170907093000b00730699ca113si6769550ejc.43.2022.08.15.16.23.11; Mon, 15 Aug 2022 16:23:36 -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=wQQB+OI5; 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 S1350193AbiHOWf4 (ORCPT + 99 others); Mon, 15 Aug 2022 18:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351188AbiHOW1t (ORCPT ); Mon, 15 Aug 2022 18:27:49 -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 2DB276EF0C; Mon, 15 Aug 2022 12:47:35 -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 5F34E6122E; Mon, 15 Aug 2022 19:47:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52E5BC433D6; Mon, 15 Aug 2022 19:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592854; bh=Shks8rDUt6fwvZCiVNN+z/KX40yACmnhgAaxaywLQ9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wQQB+OI5UCDMFAdFrTt64Rxz7Sd0bTymR6a/FF4U83xijyINvUmGY6hHtqMWjq2Sy oEtp0hYOEwaN5BL1C2CvKcS+4m6I4ZjYL6N1AB7E40sKgktp05nHqnP7xlB04RdWxA oaEYMUprV0E9ypWXEP8VodG89+ezS2Z0gJ2BNxGk= 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.19 0174/1157] spi: synquacer: Add missing clk_disable_unprepare() Date: Mon, 15 Aug 2022 19:52:10 +0200 Message-Id: <20220815180446.685852950@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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