From patchwork Fri Apr 22 13:09:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 565394 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 C2BDAC433F5 for ; Fri, 22 Apr 2022 13:10:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234024AbiDVNNE (ORCPT ); Fri, 22 Apr 2022 09:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234015AbiDVNND (ORCPT ); Fri, 22 Apr 2022 09:13:03 -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 5E51315719; Fri, 22 Apr 2022 06:10:10 -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 14C89B82D3E; Fri, 22 Apr 2022 13:10:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B670DC385AC; Fri, 22 Apr 2022 13:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650633007; bh=LM+ulpEJgK2xI+UCRDS56xFSor9mKw6oWKs25hHyY6M=; h=From:To:Cc:Subject:Date:From; b=dGoqZ5wxRl6HJjKW9xiE5i9Ez1cYXQO+T5oIWqaVbvQzKzaoCBiKaXXdgF+g9Y1Te 76LJoZgtHFmDHppGOo6e7BqIGk8Oc6KgRiW8fLJGq24jWs2VglxcR8//sU47n/+O14 ZQdBg6NERarFIPlnnnesjT4LYaJvKJ71Elo53eLkm3ey6eVfkJ71mAX2uxIof0kI7V W1aJoNl8ehTm4Im8uDgkgDd93/kiyYIuihBlnC6QguiSDTzi1rdrbAsYJf3JRGMslH PM3h130+I01u1mS9GzLP6a+bopX5ZDjwGSmxAJXnR9I2VQp3WqjpAPYnprmLh/wrQZ JIzczET10KzOw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1nht2v-0000XK-VI; Fri, 22 Apr 2022 15:10:02 +0200 From: Johan Hovold To: Kishon Vijay Abraham I , Vinod Koul Cc: Andy Gross , Bjorn Andersson , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] phy: qcom-qmp: fix leaks on probe errors Date: Fri, 22 Apr 2022 15:09:39 +0200 Message-Id: <20220422130941.2044-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Here are two more fixes addressing resource leaks on probe errors (e.g. probe deferral). Johan Johan Hovold (2): phy: qcom-qmp: fix struct clk leak on probe errors phy: qcom-qmp: fix reset-controller leak on probe errors drivers/phy/qualcomm/phy-qcom-qmp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)