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 X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 B63E1C2D0A3 for ; Mon, 9 Nov 2020 10:49:47 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4CC7D20674 for ; Mon, 9 Nov 2020 10:49:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="NYfDuXIR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4CC7D20674 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 70DA68940F; Mon, 9 Nov 2020 10:49:46 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C5178940F for ; Mon, 9 Nov 2020 10:49:44 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 12F38B2B; Mon, 9 Nov 2020 11:49:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1604918983; bh=7n9Yat1LWWRbM/MHFdHEdgdkx/EI6U1p1Djt3qGtJ/M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NYfDuXIR1o6F1exG7Fs5IxNCYfHhiu+dNJgw81gLix9699bqnzy/jVn5ozxQ3uFEV fU6w/tR4TXc+sbNgDtRiGGl8Fqycz6smegn5qwEyg3lunFjyTZXSYRuZPg9cZ6gv48 2HGMUnx+pVgY7Jf4BwShCSXHOs6nRWV3ETtBlzNo= Date: Mon, 9 Nov 2020 12:49:39 +0200 From: Laurent Pinchart To: Tomi Valkeinen Subject: Re: [PATCH v3 37/56] drm/omap: panel-dsi-cm: support unbinding Message-ID: <20201109104939.GH6029@pendragon.ideasonboard.com> References: <20201105120333.947408-1-tomi.valkeinen@ti.com> <20201105120333.947408-38-tomi.valkeinen@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201105120333.947408-38-tomi.valkeinen@ti.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Lindgren , "H . Nikolaus Schaller" , Sekhar Nori , Sebastian Reichel , dri-devel@lists.freedesktop.org, Sebastian Reichel , linux-omap@vger.kernel.org, Nikhil Devshatwar Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Tomi and Sebastian, On Thu, Nov 05, 2020 at 02:03:14PM +0200, Tomi Valkeinen wrote: > From: Sebastian Reichel > > Now, that the driver implements the common DRM panel API > the unbind no longer needs to be suppressed. > > Signed-off-by: Sebastian Reichel > Signed-off-by: Tomi Valkeinen Acked-by: Laurent Pinchart I'd be curious to know what happens when you try to unbind through sysfs though... > --- > drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c > index 5159dd51a353..086c7d71fe17 100644 > --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c > +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c > @@ -607,7 +607,7 @@ static int dsicm_probe(struct mipi_dsi_device *dsi) > return r; > } > > -static int __exit dsicm_remove(struct mipi_dsi_device *dsi) > +static int dsicm_remove(struct mipi_dsi_device *dsi) > { > struct panel_drv_data *ddata = mipi_dsi_get_drvdata(dsi); > > @@ -637,11 +637,10 @@ MODULE_DEVICE_TABLE(of, dsicm_of_match); > > static struct mipi_dsi_driver dsicm_driver = { > .probe = dsicm_probe, > - .remove = __exit_p(dsicm_remove), > + .remove = dsicm_remove, > .driver = { > .name = "panel-dsi-cm", > .of_match_table = dsicm_of_match, > - .suppress_bind_attrs = true, > }, > }; > module_mipi_dsi_driver(dsicm_driver); -- Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel