From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07561C19F2A for ; Mon, 8 Aug 2022 01:44:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242881AbiHHBn5 (ORCPT ); Sun, 7 Aug 2022 21:43:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243022AbiHHBln (ORCPT ); Sun, 7 Aug 2022 21:41:43 -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 73EA65F6B; Sun, 7 Aug 2022 18:35:17 -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 87EE060DEE; Mon, 8 Aug 2022 01:35:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10C67C433D7; Mon, 8 Aug 2022 01:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659922516; bh=Shks8rDUt6fwvZCiVNN+z/KX40yACmnhgAaxaywLQ9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xg+vKAacO5Qf9WCSHPn5gCH7j6dsXsyhhppfYpLnJKptUDq4SE1HcrjNHo3cWsPBD ZusJ2JpRThV2bhjCzzWatZg+VkKDhYGQSOnWQ6nW1yg8BRkMOhRefgRCj8dvJVNNB4 6bs2txyTeaG+H1KmElYoVKoNpLZXcscP2qc2u9/oGJcevQN7t++h6v2pLB0iIQgkGq D9nQ0yFnyo39mr2iYs+OD5Ps2GZnXaq8c2GBIT2kwIzIb77INGwc24y3tCIHITd9bP VpLS0xwPS6TNhSwfblu7J4uuQz7cO6bh1l2lHOAEKf27SFBCebedNkHjYCC1OlfGgy 7fWa1fgGa8MkA== 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.18 33/53] spi: synquacer: Add missing clk_disable_unprepare() Date: Sun, 7 Aug 2022 21:33:28 -0400 Message-Id: <20220808013350.314757-33-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220808013350.314757-1-sashal@kernel.org> References: <20220808013350.314757-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit 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