Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3578825pxb; Mon, 24 Jan 2022 12:41:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfjL1+ACYR6NbI/Qg+npLnOC2sue+s2xTBAfyFX8Kcmn2XPcRv9yprETZ7I6N3WXwdY8cj X-Received: by 2002:a63:fd53:: with SMTP id m19mr12664133pgj.563.1643056869079; Mon, 24 Jan 2022 12:41:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643056869; cv=none; d=google.com; s=arc-20160816; b=E+MSuQSRtCeeGQHpIPDlmJygsEKit3bQ82L4nELQmdKZlnoSawGBHxhfvEpoDABajx or5CUCIqKp0Ae+aDdIpflIWhiEjQ7Y0ueFd09WMa+1CUGOltiGWREok21se2oANRkwi3 aMcjSkNVWTEBNxdUKRzo5zOTb2bLCa5rrKI5TJHBwbSDgct+FlFPT+AcDGMGrUgW+iIC RUQdnTcQB2SoK1ZDRqP5oFHvbUJZfr9uwXoYTcgIp8SM1uvVlHu+Sfiphgk2T2HFFMPM hVw3rel9EQrQxlQ6dBMlCG2fq2gkEbSf11rl0YLgjPfeYEFt9UHkyed/0xTh/BcnTO+Z LboA== 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=BqKoCuIdVvaARTjG5Hv4OlDUKye8EJwZakIlcaG3jVA=; b=FWisHAey2f9fKfdB4wrXSZx622zoPUwaL/AE2PuoYDvq5dS40RKidyodItOceGFc3U v8HQNC4Q6dmsUTY/dmxi9CHQCZ917J7YRYLXRI45W8kRdQbnBG9FViHEWp92YWjaLjaJ ay7Cufgw7b4C9uDCmtjrgjOOueDbNMhyXSlTM+T6tW+rnOylD9jLNFyQLR9/DICcXgS6 taRQTU0rCSJOgawaHEpRIJw7fNYPp4AVil2jgbOhT4sTL2/fMulwZ/D7LzRWqdRAKCC3 4YSPzJ5whsg5cpvyTGDlqwkT6d7c/4PQl/cSNlesqYRYuXSjTWce32+XF8ROYOqX/5qk 9ylQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fJocDCPB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si13110191pgk.382.2022.01.24.12.40.55; Mon, 24 Jan 2022 12:41:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fJocDCPB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1358996AbiAXT4I (ORCPT + 99 others); Mon, 24 Jan 2022 14:56:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354759AbiAXThv (ORCPT ); Mon, 24 Jan 2022 14:37:51 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F1CC0085BD; Mon, 24 Jan 2022 11:17:32 -0800 (PST) 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 B13E56131D; Mon, 24 Jan 2022 19:17:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84D45C340E5; Mon, 24 Jan 2022 19:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051851; bh=MVcReX3W2UATrsEc/FCbBHApTKVMcOq6AMGjgtU5CP0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fJocDCPBDEdIOz8mb18qcqcXQoWCfRbwohMsxnW1k7S1bzTiKMo+P0tMdSpiQ/LA/ NexNgklJVF/Uzwvcyfm5Mt2dU6Z0k177UJPrKqyehVSAp+6L8BrCvS5wL7ApFVmLWh hkzokrZ9qgoF4t1m4h2v/iBhTBGpC2jm057/uiVc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Vasut , Nicolas Toromanoff , Herbert Xu , Sasha Levin Subject: [PATCH 4.19 074/239] crypto: stm32/cryp - fix double pm exit Date: Mon, 24 Jan 2022 19:41:52 +0100 Message-Id: <20220124183945.477087875@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183943.102762895@linuxfoundation.org> References: <20220124183943.102762895@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicolas Toromanoff [ Upstream commit 6c12e742785bf9333faf60bfb96575bdd763448e ] Delete extraneous lines in probe error handling code: pm was disabled twice. Fixes: 65f9aa36ee47 ("crypto: stm32/cryp - Add power management support") Reported-by: Marek Vasut Signed-off-by: Nicolas Toromanoff Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/stm32/stm32-cryp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32/stm32-cryp.c index 23b0b7bd64c7f..b3b49dce11369 100644 --- a/drivers/crypto/stm32/stm32-cryp.c +++ b/drivers/crypto/stm32/stm32-cryp.c @@ -2036,8 +2036,6 @@ err_engine1: list_del(&cryp->list); spin_unlock(&cryp_list.lock); - pm_runtime_disable(dev); - pm_runtime_put_noidle(dev); pm_runtime_disable(dev); pm_runtime_put_noidle(dev); -- 2.34.1