Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2481863imu; Mon, 19 Nov 2018 01:01:00 -0800 (PST) X-Google-Smtp-Source: AJdET5chOwEJZpZvNz+UU20/OBtabTqJtpzcFIPa9dRgcxCFJrXeIip5S0RhnmWCmcvl7qhs7PNu X-Received: by 2002:a63:4456:: with SMTP id t22mr19815616pgk.0.1542618060775; Mon, 19 Nov 2018 01:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542618060; cv=none; d=google.com; s=arc-20160816; b=zDMsUMDhEMQRSlzyJKHAGN7D4QTN+dvdECLimx5ogjVte0P9DboV+FpWWnF5vCgfB6 tMHmW5/0UmorlfO1fI5PrLNdpZiD9kASYbOm4+XSNxfjQURwRbfKOnh5TqlZujK3bK6l lJeWRJujy6FRnrjxkBSDuN+oloM70QFuf/7LfITs4TIRqU3aTLkhDBmQXAx118I5Cr36 yvnKTgayO4zXMZNYO/4OAhx9nCWwCiBQq2ptgtka/bDMvLJwKcsjoSxSYCu93EQ6ih5d FAOvL0hSNWvFk/73dzkzK2jObJ/A1rCNy+Ff5Ny26DbXrLJ+n24Sxh2qosy+ZuAXE1n7 oWNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WE8MTB5fEpGeUXNLycuhvqDiWxZ0viZfo00BMqoPYvk=; b=O0dhOmOx08XfVz+8V0CtKXr46F2b1y8L1efgInANSS9g45WigOxxKdUw5PIhiIVyB+ 8dgESEfZWjrTHuAXuURIqHzqEJQVy6fhJA/6z5CnDpEgN4275S6NrSSx2/Q5s2ojjy/G j58hYP3XHNTkopS0HoIwCZCtPBzccxEOESHLn2s08GYxzXg7H7m78TIZQ3G3iySbfP/v WJur3eJXqoAUMZyzycwMs8Gi/zM3qyYDbfNBOwScXMM66xJNXT+jRVuJylpKmephwoam DKVlTkKIGzjCIt98NeGNaMy0ndpbAIAq3CQgOAC02UEBq1YqBVi4w1bN+asvYPDxFi/w +5IQ== ARC-Authentication-Results: i=1; mx.google.com; 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 k35si23885013pgm.225.2018.11.19.01.00.45; Mon, 19 Nov 2018 01:01:00 -0800 (PST) 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; 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 S1727303AbeKSTWd (ORCPT + 99 others); Mon, 19 Nov 2018 14:22:33 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38584 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbeKSTWd (ORCPT ); Mon, 19 Nov 2018 14:22:33 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id A45DE808BE; Mon, 19 Nov 2018 09:59:29 +0100 (CET) Date: Mon, 19 Nov 2018 09:59:31 +0100 From: Pavel Machek To: shuah@kernel.org Cc: mchehab@kernel.org, perex@perex.cz, tiwai@suse.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [RFC PATCH v8 1/4] media: Media Device Allocator API Message-ID: <20181119085931.GA28607@amd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2018-11-01 18:31:30, shuah@kernel.org wrote: > From: Shuah Khan >=20 > Media Device Allocator API to allows multiple drivers share a media devic= e. > Using this API, drivers can allocate a media device with the shared struct > device as the key. Once the media device is allocated by a driver, other > drivers can get a reference to it. The media device is released when all > the references are released. Sounds like a ... bad idea? That's what new "media control" framework is for, no? Why do you need this? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvye3MACgkQMOfwapXb+vJA3gCfSzUjvJUuuvii9w4a4BBFlKB4 cKMAoK05ssILf7b0q6CHzrTZDJfiadMQ =u+bp -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--