From patchwork Mon Mar 18 14:03:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 10857699 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 99B621669 for ; Mon, 18 Mar 2019 14:04:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7921329072 for ; Mon, 18 Mar 2019 14:04:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D80929091; Mon, 18 Mar 2019 14:04:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 068F229072 for ; Mon, 18 Mar 2019 14:04:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=blG+7cNYa1EsG5pzs+JimX5F40Lq429WGiAO8f+dJJw=; b=h6B M42PIPBIdVAZw03ua7r1iqIkcgynERYVjHucof7JTXLUXED1/iO7a4VolKezmGbDGjFO3xYLk/9nD zpm+r9488UMe0Mz56kgferXgosDikBEOA51UwYix5KArL8s+6XUX9iOq5UODGf1wAHCjQsmCPNjL2 tlM0+j8ZFFf9U08eeq/V8/WVb6EkxgvNxLyWDYFFJ19xtBO+vn6RU6I2SB5fV8qJ6T6SCn/ixcYRP AKTx8qWiSOavqMtd9kspACI4kxILo0flD59UEGFaHlEApe/g1PamIbPsb6Nn29nHVFn6l/G2n+3qR xILvo3dG6VabyUfoSx1sEEqaDrk3WJw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5ssI-00033A-F4; Mon, 18 Mar 2019 14:04:22 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5ssE-0002zn-18 for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 14:04:19 +0000 Received: by mail-pf1-x442.google.com with SMTP id i19so11351840pfd.0 for ; Mon, 18 Mar 2019 07:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ingics-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=lLHW1ql+upsHrluKhKt1Ithq2tZ9RZtci7FqVFbcxZA=; b=tFMDgu+TlxcFaSxrDVLG3RoLKS6KyhiuOWOs0TQLOB9YfK2kWh/DUQlV6MzFabLMRX dfzNCb/aKdIjhN+yHu7o0I+Fq0sR3yIVKKj98slumvpQSoi2pGH+DS1p/E7lOHCR5/mY n95TzH06O8sWo06SGElS02E3NmY9mW43uBNd+Tp4AtBe4joaW8iGeOH9gzqIev1XU5zT d9YoL220Q8t/ZVxHs63alz6qsg6nH374n5Kpz3iEJ3cpwzUQOKmWxBFZgEdoOPvsCPuL KDHiosFwb4/jG/SDhfCVYMx4rxx17FzmGNCtC+ljDCURb5cpGyN5Xf5i4FAnq8M1ILDz 48uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lLHW1ql+upsHrluKhKt1Ithq2tZ9RZtci7FqVFbcxZA=; b=PvwPLZ/xhDSt9XXeEKP+0hT/iXDLsAUZJ3n9aDIj2a4Q9O3qODyvm2FgLb/ByovB/I pvRh4K0F6/uVx9blx3Tmproz0oV7TMjOJfWoIV6P+OrJhjDu+JoxhUhcBJe3wajzx0LT vO4gHN/9h0Bc2FTQCbP3P3X+taDVJo1zlEy/HIhbxLSQOeKx4JPT/j1yTV+/yhRineZL 5GiXs8RAwQPAbyltwvGCr8LdRZ2if+NWRsFxhDmZV+p0yj8iyvL8VTBZsTG9Rk1B09x9 8SNcOhbKvYuj4IPmfma7ZdbmJ/Lszn70yryvYU4zmEaAA3dzoUGWb4ZrBmXVtmuoul/z uvAA== X-Gm-Message-State: APjAAAVU7hDGa9EmiJ+wO9CwLriQjK1sHTd9f/z2re12miMG5xQsJO0F tIEQ7yMdtUkDUR1hBNKlxI7ih2z3Rymw9w== X-Google-Smtp-Source: APXvYqwaExEBlimaGbnNdo5fvahg/mVXE305R3A4faLhOK7o86TN5mOASCk1jCEo01zgX47kEBuZnQ== X-Received: by 2002:a17:902:2e03:: with SMTP id q3mr19753659plb.166.1552917856540; Mon, 18 Mar 2019 07:04:16 -0700 (PDT) Received: from localhost.localdomain (118-171-142-96.dynamic-ip.hinet.net. [118.171.142.96]) by smtp.gmail.com with ESMTPSA id b6sm12935765pgl.49.2019.03.18.07.04.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 07:04:15 -0700 (PDT) From: Axel Lin To: Philipp Zabel Subject: [PATCH] reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev Date: Mon, 18 Mar 2019 22:03:52 +0800 Message-Id: <20190318140352.31979-1-axel.lin@ingics.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_070418_136425_8849B2C8 X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Hilman , linux-amlogic@lists.infradead.org, Axel Lin , linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Set .owner to prevent module unloading while being used. Signed-off-by: Axel Lin --- drivers/reset/reset-meson-audio-arb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-meson-audio-arb.c b/drivers/reset/reset-meson-audio-arb.c index 91751617b37a..c53a2185a039 100644 --- a/drivers/reset/reset-meson-audio-arb.c +++ b/drivers/reset/reset-meson-audio-arb.c @@ -130,6 +130,7 @@ static int meson_audio_arb_probe(struct platform_device *pdev) arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits); arb->rstc.ops = &meson_audio_arb_rstc_ops; arb->rstc.of_node = dev->of_node; + arb->rstc.owner = THIS_MODULE; /* * Enable general :