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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63EB9C433F5 for ; Fri, 24 Sep 2021 17:53:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4842561251 for ; Fri, 24 Sep 2021 17:53:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345012AbhIXRyo (ORCPT ); Fri, 24 Sep 2021 13:54:44 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:43181 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344909AbhIXRyf (ORCPT ); Fri, 24 Sep 2021 13:54:35 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 95CFB580AB3; Fri, 24 Sep 2021 13:52:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 24 Sep 2021 13:52:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm3; bh= 6WakdUbiWZn3GzMR84xbI52pTQWpDwrFi/U0te25GWA=; b=HVeZxJb8O3xsKKWQ RnV5/R/0oG8RG/TaMY3R+KnJ5yFbRPNVo+qUllpvH94M1ldM1qQM3IDEM9iKLWnX Uek1Kjs/od/hoiE8UEc0Uwo8M/YpU8PQ3Y6Ycx0sBn5dutKAaKchZH6Sh0bE+azl fU05O/cd1RyQHFutmdPrGNpxIeAQToeO84pRIn2f0Gy0NTcBx6iXtzTCXBtCOLir ewbtMf86mGBnB1GZ/3CXxsMIEkWAufIXZ3aN1zfFtAsD96tT1nfKQa6s0fv/z9Xn 4cpsP4tJiEfo5zXsiyOk5UCdw7YfXj/KR8+ZYi4AJpbRXSUm7aUMBTy8NIRTpeKv iYIW2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=6WakdUbiWZn3GzMR84xbI52pTQWpDwrFi/U0te25G WA=; b=Q+aKfJtPy++1s8uPjo+8sFuHcbwlORBMHTBvCswoB+fAmoPlPfmel67vY fwbT9ws0SDyu593B5SQKubfwtlBUEqHsSpCD7elTw6UNxgTX5WKIJLaPuU7RyMbM HjQ2ESVsgUSRoQiZm1/XvA8R57icuFGeZ0SAbO66j8H4veCsil8T0Nl6zdIiXoWs +gFVCnhXJ8TLi8LGWTz9sDpn2GOvbaAtoTn+Uhje5g4uaBCJFcTCJeHnBgljxy9s U7p95lczoL3urNNRU+0XI5rGlOSfxsiaJE0tirrKm1YdCw28MZyT6pjHG5ZQYX3C oavhIRbE+ibbV56H9knMU1+cppBcg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudejuddguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepjeeugfegkeffgfeuvedtvddufffhjeffjeejvddvudduteehhfefhfef geeikeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Sep 2021 13:52:42 -0400 (EDT) From: Maxime Ripard To: Thomas Zimmermann , Neil Armstrong , Maarten Lankhorst , Thierry Reding , Daniel Vetter , Laurent Pinchart , David Airlie , Jonas Karlman , Robert Foss , Andrzej Hajda , Jernej Skrabec , Maxime Ripard , Sam Ravnborg Cc: Chen Feng , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Kyungmin Park , Rob Clark , Xinwei Kong , dri-devel@lists.freedesktop.org, Joonyoung Shim , Inki Dae , Xinliang Liu , Sean Paul , Seung-Woo Kim , John Stultz , freedreno@lists.freedesktop.org, Tian Tao Subject: Re: (subset) [PATCH v4 04/24] drm/mipi-dsi: Create devm device attachment Date: Fri, 24 Sep 2021 19:52:28 +0200 Message-Id: <163250593261.1360097.8686151745001327070.b4-ty@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210910101218.1632297-5-maxime@cerno.tech> References: <20210910101218.1632297-1-maxime@cerno.tech> <20210910101218.1632297-5-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Sep 2021 12:11:58 +0200, Maxime Ripard wrote: > MIPI-DSI devices need to call mipi_dsi_attach() when their probe is done > to attach against their host. > > However, at removal or when an error occurs, that attachment needs to be > undone through a call to mipi_dsi_detach(). > > Let's create a device-managed variant of the attachment function that > will automatically detach the device at unbind. > > [...] Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime