Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5EE0C43381 for ; Mon, 18 Mar 2019 14:04:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8123820835 for ; Mon, 18 Mar 2019 14:04:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="h6BM42PI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ingics-com.20150623.gappssmtp.com header.i=@ingics-com.20150623.gappssmtp.com header.b="tFMDgu+T" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8123820835 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ingics.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 1h5ssH-00033A-TS; Mon, 18 Mar 2019 14:04:21 +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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 : -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel