Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2808234rwb; Mon, 15 Aug 2022 11:45:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR62OAmnqzWG+oIaLNdPL30LT2URNaE7BXe81HmREjnviycZH1LjAz/DUEjRpvMoGiaAdmLO X-Received: by 2002:a05:6402:2386:b0:43d:a74:cd44 with SMTP id j6-20020a056402238600b0043d0a74cd44mr15189442eda.280.1660589142908; Mon, 15 Aug 2022 11:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589142; cv=none; d=google.com; s=arc-20160816; b=mk04pYCY2rASa11UPAnJs7gZwK0oIwWn32GIP7BIzFh+bhEO7bBQMmnkNREUIRbkzX 0tTUtrYnvi9RQIKtE5IZwpKjE8Ev8MOvfhISPLrABzYcngnJrTZPNjT+dInWMqkC2dsJ 1M+11KYWbMNp1uboR2R27bC7mCXwNJJTI06l9wr2oTIcI4+cxNNbVL+xG2/VAM/lpgm6 sObCHIwDNlG0IKbmc89uN/EiLnuCsnpcoe2ihHUqIEYfdxYofFwN5AJkl7QcwUuA1ytH 45PbJF+YC/vjL9ty7wVfJgAwxobNqm5FikSy0pY9fiedfcijXmYUt2cK1opVPeeS/jK4 0mEQ== 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=gCQrcm/5cUPlwc/0eR16ATiUdy3u8wJCpfbIiwaNfAfxIizbWbH4LqSL3vSMUQIOcr AYmOM6QTj9ZDYSRSFlyEuPjfSE0IVu6o+NrRNKRZzqrjKGKpeke70BGoeUcD5nDV6NVq X0qt5v87tsFxS1Tke2RZL6AEnJTAy8F/bkdUTNXDgovE9KNPkDh9INgtI7Gm9xmFJVmo PD4GikECblGiqR2rrkq8j7qZEt2xIm0EwRN4OQq8W+GL0QC4KlsIFmfpn8iCxYFMw8H6 f1/J7NUfWReA0tHRSWl5BUF3wjuEJJN6WqXVrtRiMniPJyDw8k20m4+MEY6vPM8wtco9 QfLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jBswlEHJ; 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 hc12-20020a170907168c00b007316cc27ab0si9795731ejc.980.2022.08.15.11.45.16; Mon, 15 Aug 2022 11:45:42 -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=jBswlEHJ; 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 S242714AbiHOS3X (ORCPT + 99 others); Mon, 15 Aug 2022 14:29:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241375AbiHOS1S (ORCPT ); Mon, 15 Aug 2022 14:27:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8584832046; Mon, 15 Aug 2022 11:20:06 -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 60A58B81076; Mon, 15 Aug 2022 18:19:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE90EC433D6; Mon, 15 Aug 2022 18:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587593; bh=Shks8rDUt6fwvZCiVNN+z/KX40yACmnhgAaxaywLQ9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jBswlEHJsq0eFf67LZO0LC2+9OK0a25/G+9Rtxv8QjyI0YCnkuIE8khGhnCrFh5iS sKcBQbVjvs0pTXTwgPfKkK3l9zmuzhBm9v2HCJCDOSAfuurYcQTVcmQrrsS0N8MTFJ xWRnGqkH2V5Tuo1U80Ora+YUuZhTUqOUEcFi44Qw= 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.15 133/779] spi: synquacer: Add missing clk_disable_unprepare() Date: Mon, 15 Aug 2022 19:56:17 +0200 Message-Id: <20220815180342.963400297@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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