Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2533284yba; Mon, 6 May 2019 07:36:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmhMsQSBSBCOpK6sKkntXqqQtibIy769mzT1/v8QkNLGAIw0KlKnyRttm0v9rbBxFmy/1G X-Received: by 2002:a63:2ad3:: with SMTP id q202mr32599899pgq.423.1557153407669; Mon, 06 May 2019 07:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557153407; cv=none; d=google.com; s=arc-20160816; b=xQMiO54Vd+5raBaEoXK+tmBzJ5vtqnlMInrwK4GRB/cV0ta/9ex3TLg/fOGF4IJnlw TYzY9cs2uv9e1eNUtynGoYtykrRGjsVQJeOdxIW6UCGs2as3+vrwKFinBXv1KbA89yPg EQnvBMytbhBvOXqeHLrM1hQCVkHmgOVbmSgvwdkJ6JQW3SqnQyQ4bCu4YRXsx5kDrzyd C+gEQHT7ex27SdS18emuK19DpJblyRCxaCAtpqf+XXEVG9jnYGxg0u/AyumBdGAb1KFL KYHpex+Ndt8L7IMzVJK3FWitzLg3pTpEU0yaN7hns/RAuvY7+8W+KcAoyD0zo4Ou2l2I 23RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MRicmzEb4LPtTjSshE0fXDlZV6Jke4UrkVHC7gXtyjI=; b=xUaFYYEO99TCaoMMy04QGP3ks4rm79bUilzYhXhfOvoAjHRR/2ax8QZnpHQoY8ONS2 Lz4fK4y2sE56JZ85cCM7Lm+UV8DEfiKli3H3ybm/dfAp+ZIWMLfkHcoa6QuLSu4cmkzf iplcR/Yr1/twz69jfPsHNQ+dvqMuAGAqJGrnFqLlJLnOeMoOWPMEVwTwGdDiG0gJFbsU Jle/SujpwykONm3YCYTCe4828Flu7HEook0NrVyDY5mCCsooyrjLTFrq9rNB3EztXgEI HwhErjmeZelw7oFTvyTOb5r7CSKz/NC63n9B4Mhhneav0/u27EhdK88wmEQ9xc0rJpR9 CIHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EjhmIQRO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si14623882plp.26.2019.05.06.07.36.31; Mon, 06 May 2019 07:36:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EjhmIQRO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbfEFOfC (ORCPT + 99 others); Mon, 6 May 2019 10:35:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:54876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbfEFOe6 (ORCPT ); Mon, 6 May 2019 10:34:58 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ECDAC204EC; Mon, 6 May 2019 14:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557153298; bh=PuL3a0B9fgKz9ClSWerIzJ28wEGAGiOI9Ak3uVJSAKA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EjhmIQROwZYP/msLfBM1hz7c53HrJbJDK9JwAspvUCjUqRLOJ2sbzsnP5X7UfbBre 13W9KWkBuOqcGpd4yeZxrEOU0TdD0P19xDa+YoUawzl10SgpnZkBrQrNq5M9cZavw0 lGYSrtwyQR8QnnSr3lYvZ6wWwJylOoI1pz1l7EaA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Axel Lin , Philipp Zabel , "Sasha Levin (Microsoft)" Subject: [PATCH 5.0 037/122] reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev Date: Mon, 6 May 2019 16:31:35 +0200 Message-Id: <20190506143058.220264188@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506143054.670334917@linuxfoundation.org> References: <20190506143054.670334917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 13e8a05b922457761ddef39cfff6231bd4ed9eef ] Set .owner to prevent module unloading while being used. Signed-off-by: Axel Lin Fixes: d903779b58be ("reset: meson: add meson audio arb driver") Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin (Microsoft) --- 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.20.1