From patchwork Fri Apr 1 15:05:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1899 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D4D213F02E for ; Fri, 1 Apr 2022 17:05:50 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id 13-20020a63030d000000b00386231e836bsf1800114pgd.16 for ; Fri, 01 Apr 2022 08:05:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648825549; cv=pass; d=google.com; s=arc-20160816; b=sV6aHk9f4vliB8acHL+nIjE/E5mhDMmDN/0BLy+ifqYbhW4rMKkap3SA8B98nggABn LuSK265Srw71z382ORjnYrxxoQ8emJPeEYbbqOpcZ5CHr3fhCR6ka0HBc9aSa9PBaONp 9VGmNNNf/GHeMXH8UkyqYcnzCUu15IBETfrbHLhLNfBFemhPF12oiJQdlrUtsqGTWISP O4xg8ClL88FIkRAPnl4j7xoe7vDd86+mNhVkqTVX3XzSgeMyrwenLh6wkdLCok720aUn 4hTjEC8sLqEYA/qMKsWkIx1L+shQHyIhqsexTlgEx0HXsQtye98RQBfR7JPsKlEGzdfQ CUgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=SBZlJpedRwqA395XsF+8QWao42d1AcFRIjgMvJ59a/c=; b=Mp04nBsCco9I9qgkbNYBM7qxRuVRYgBXfWvjNgBFa9JoHDafAUPN2CJ01kwNHjUozH 80jV/EsomBLtUkX6gmMo7MUZB04+NJ4KdchHYjb9anEZAjaZ0hW3b54Nyy0yyDzXEGKH cKyG4YTJwaBjT/eJfByrNaZ7hYmgrBGkvyLelt78yfH9gnMrNBPSscuZWm2uOKRtQgyd OrdBdetbV39TTxBetWD3vWbfvSf8IswsLs3bkCmppj4EAtToGC3vKgkwjFie3X2gfJUL CTpdQANfK9xzd2PPJJcplSK6E4V/h8zd84y6iJ+hgKGHvVzzEtpMTaHeQsQFmWqUk0HG 4afw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Jai26U5E; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=SBZlJpedRwqA395XsF+8QWao42d1AcFRIjgMvJ59a/c=; b=LIurX+7H1+tiJpMTtbluXub30ivlHf/+FLFeyWhgGZokb8KuMS+qOVHrRiV7n6Yye8 n13EfH8sdDX6PjRMuNVd77XcibCe5AhqrMpb813VzzSAOvpV31kn1YleqUZGoKUdAHhK CrIVwDF0ZoRbb7tm1alqcayxMlfFv+K4DRxj8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=SBZlJpedRwqA395XsF+8QWao42d1AcFRIjgMvJ59a/c=; b=yAQz9nnBLKhnsRGgr/sWv6Jlf4SSnZV5/bXOUHhpeRHCaLdPoKxvSgVjuPnM8cYTcF BCzqdMGhx1+VxZifuvYgtHAijep2GlWVFr8eo2dPib5MhrH83niJ3g538FcfCeTEAJ4J sEv7ZjrJo/vmaX7h/2T8NTuT7w98KKPQdfVrK4A06WCRkIzBqIndtVrjfA7JSUnXDsqb De1qzYv3mGJkDZevvxvVfVEeFKQ7yMk0X/I3Ty2SNM2NZkA9lhwOl8TaxPn7lqDW8yNs YpwyCM/YMMmulptt7JlAF9YiADA9kIbEGONx8GlC1JMOOMTEgtAuZybHNnRlWpCKn9FQ VWiw== X-Gm-Message-State: AOAM531qA8q066xxVgvlKScVZQSZB9ZvRoMDueXuAgvPzl0OlkZpApv0 14n47+T/WCgZLVCXFDgczkgbnU98 X-Google-Smtp-Source: ABdhPJzyCsU69RQ1HV0Vhz5bBnNLPm1dQpHiQUvchw4YoMwnETfx+ucp5I/DfCto81bEfmrZWIMTLQ== X-Received: by 2002:a17:90a:a82:b0:1c9:ef95:486 with SMTP id 2-20020a17090a0a8200b001c9ef950486mr12349764pjw.93.1648825549491; Fri, 01 Apr 2022 08:05:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:23c2:b0:4fa:698b:ecd with SMTP id g2-20020a056a0023c200b004fa698b0ecdls1590210pfc.8.gmail; Fri, 01 Apr 2022 08:05:49 -0700 (PDT) X-Received: by 2002:a05:6a00:18a5:b0:4fa:e6f0:d410 with SMTP id x37-20020a056a0018a500b004fae6f0d410mr11378444pfh.28.1648825548672; Fri, 01 Apr 2022 08:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648825548; cv=none; d=google.com; s=arc-20160816; b=CiBd5M26q1RmzFtfcidwO7OA6Ew6r96UCWze4KvMm1KKzR+IGauDuWZ4uw2hoD6j+t wTfsXyff1pL7P7M8WTsqaTMRO2ONp1YMjkKbecAdWQ/SWXpMvDdskwHHdpsf6/lRtZGD wap2tjNVz0lxMq41Id5Hx2CZdHoB7Cu8FaC1HeadL5x7RpdR51d5MO5BkweIhf2pFJ6E yPzwSuEJjLmbVHjORS4w17oeu6yqb9UYlHoyE+8d60JTNwaD1wikuX432FgSBxdY2ru8 hgfZ+hgToWSL5oQj8XnfGt8xQmV9xg370jg5k7YRBqnlqb2GtDaXuDMKMkvQrwM19pVt uKpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=dXvf6tEmU42fvFxnNhgaVoSXX6BtyHLrcBb5PtNps2I=; b=c8Z38EF9nS7+7Rd6gGRetLqfTogVXraGo6kco06Jd1sq5tH++KJ57ec6xjJCl+XhBA jpc2PNVUKueoy1m//5Wcnqyhsj2vj7ztOGdSixLa2mpDzTN7JrwzcPC6KjWdqxH13Jda /mJk0+uww/G4sqjdTJR7fKnp7j/Mn/Sss9x6dkpt4ZMTTVsJXNDYVDKzMvtumDNCnQ+r D+3My4lOW+z67VKrqSuOlvr5ouwowy29kc7Ss+iVxvzvZaada5FUCy1L1Npk2R8MhRpA er7RLLWAKJ7yfdmD6w7pvlfBmLEqxlqpw8AkxuWcA0NcCawm+SRIjTKKDJtgU8uuQJjB cLmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Jai26U5E; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id x29-20020a634a1d000000b00373d9816d83sor1527827pga.22.2022.04.01.08.05.48 for (Google Transport Security); Fri, 01 Apr 2022 08:05:48 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:7d02:0:b0:398:9594:63f4 with SMTP id y2-20020a637d02000000b00398959463f4mr14301353pgc.375.1648825548313; Fri, 01 Apr 2022 08:05:48 -0700 (PDT) Received: from localhost.localdomain ([183.83.137.38]) by smtp.gmail.com with ESMTPSA id p4-20020a637404000000b00375948e63d6sm2621098pgc.91.2022.04.01.08.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 08:05:47 -0700 (PDT) From: Jagan Teki To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart Cc: Sam Ravnborg , dri-devel@lists.freedesktop.org, linux-amarula@amarulasolutions.com, Jagan Teki , Linus Walleij , Maxime Ripard Subject: [PATCH] drm: bridge: mcde_dsi: Drop explicit bridge remove Date: Fri, 1 Apr 2022 20:35:33 +0530 Message-Id: <20220401150533.7777-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Jai26U5E; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This driver has been changed to use the resource managed devm_drm_of_get_bridge() to get bridge from ->bind(), it's unnecessary to call drm_of_panel_bridge_remove() to remove the bridge from ->unbind() as devm_drm_of_get_bridge() is automatically remove the bridge when @dev is unbound. Drop it the drm_bridge_remove(). Cc: Linus Walleij Reported-by: Maxime Ripard Signed-off-by: Jagan Teki Reviewed-by: Linus Walleij --- drivers/gpu/drm/mcde/mcde_dsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde/mcde_dsi.c index 083a4728654d..960b49ea2ee5 100644 --- a/drivers/gpu/drm/mcde/mcde_dsi.c +++ b/drivers/gpu/drm/mcde/mcde_dsi.c @@ -1122,7 +1122,6 @@ static void mcde_dsi_unbind(struct device *dev, struct device *master, { struct mcde_dsi *d = dev_get_drvdata(dev); - drm_bridge_remove(d->bridge_out); regmap_update_bits(d->prcmu, PRCM_DSI_SW_RESET, PRCM_DSI_SW_RESET_DSI0_SW_RESETN, 0); }