From mboxrd@z Thu Jan 1 00:00:00 1970 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E091C433F5 for ; Sat, 30 Apr 2022 15:02:18 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D97DE1EA; Sat, 30 Apr 2022 17:01:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D97DE1EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1651330935; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BRDhV1OHjax+GLloXHH9ffUvoNU9B6s+Ay7oTqTxyLVudE+ptHPffbisg5Rojdljb kMUSAALKhLQOvecxgc1O5TBADwKF82oVo4hAtSn8ibCv0okivw08w38niBjqa5UjBx SDpGBhY7cJGZylM8SHwO6YJ/wWs//08jgadqzpYk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 67BB3F80128; Sat, 30 Apr 2022 17:01:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A02DDF80125; Sat, 30 Apr 2022 17:01:23 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8FEB3F80125 for ; Sat, 30 Apr 2022 17:01:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8FEB3F80125 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cyIUBA6p" 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 477AFB8013B; Sat, 30 Apr 2022 15:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F4BCC385A7; Sat, 30 Apr 2022 15:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651330875; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cyIUBA6pqqg/B5wyOdcBDSKNfjtyMoj5sWt3Xdh4pX+zHEGGcxKJ95CN6T0JFdHby hV9/K8uobLdNYn/ulaPsgu8Fx2ZaTb2Xue2Dzv8mIqmlZJHvELez5fJErThevr2fUv pPLrIsIA43sEFEbS80j0j1nzwT++PjVZBIhE1KHg= Date: Sat, 30 Apr 2022 17:01:12 +0200 From: Greg KH To: Mauro Carvalho Chehab Subject: Re: [PATCH v3 1/2] module: update dependencies at try_module_get() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: alsa-devel@alsa-project.org, mauro.chehab@linux.intel.com, David Airlie , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, Lucas De Marchi , Takashi Iwai , dri-devel@lists.freedesktop.org, Kai Vehmanen , Luis Chamberlain , Daniel Vetter , Dan Williams , linux-modules@vger.kernel.org, Pierre-Louis Bossart X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Sat, Apr 30, 2022 at 02:41:47PM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, and call it when try_module_get() is used. > > Reviewed-by: Dan Williams > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Greg Kroah-Hartman