Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1111050rdb; Tue, 19 Sep 2023 22:57:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAH+8eBs9xgMfAt9GtJiMhykQj8pb/On2J0fvXfTfMJK2liLzao78Zec1PPdGqdw0QwRUW X-Received: by 2002:a17:90a:d48f:b0:269:96e:7d52 with SMTP id s15-20020a17090ad48f00b00269096e7d52mr1728592pju.26.1695189420276; Tue, 19 Sep 2023 22:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695189420; cv=none; d=google.com; s=arc-20160816; b=IPacgpPH8ARXqBrn/1GsRXTgxWFNwPgQGsTNBhfRxvVLxISWzWcUJFLiORECjAioAo a2c1bodUWf8oEuktvr3YUHhwfy8C/hU12lv74DfHws8JnP8oatXbn9IMG4d7biDMdAOn QhFdtvQbM3EBmbO6XvbC+3zXnibhPDjxgpR/zd6eY3YoDkD+6vbTC+ePW3WnW0DakT/k Z5I1HfoEGWrQyWP4c7EAE/EpUZSP2Iwtir/jz3jyliBesjfPT1D5YzEoGSHNEbyp7pD5 O01o6S94NL/WwnkktKy+I+ScorpdrXQ4osbbMd8Dep5ROg0ShPIRroZBthpI8M9NFuOx gI8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=96gDJVxDYJfxs9Lv2OGZiIVYZ8fsvNAUwJ9/l+imC5U=; fh=Rxf9rbjf+WuBYp14hyvXFJ1MqQDuIUiCjQqngSg7T6Y=; b=KGSs9oakZKZjywtjJzG/xwfk4OI/M7s/i97qslKXWqShrvsU9WlOlU+6UA/93lF0Ck yFXgEa1noa4qvoSwvVW4wkIZmYid+1QlhA3e7Wh1luvA1iWaAjj2F7jUXcE8Kr2QfI7v pKMh8keYWvm/dwNRAcb9qKqFRQBqbz1pA9sQjbzdvvPnaoOVQ9gVsqEgo98L4xhhqsAR cL+5ZxLNQkF2MVvqSsvWjcCN+1KeH5akiSKaUqz0a7MTXy9shv1b5/e9OdW2HjJIbgaz lUc4RBGTFzL+ezWEVHQd0M/wwSwvSalYPzz7Lu/f/us+ndM8FZ1hyXre1Fn/RP97F7JH 9Wdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bv23-20020a17090af19700b0027465340295si835937pjb.60.2023.09.19.22.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 22:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B0AE28083E5A; Tue, 19 Sep 2023 22:50:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232916AbjITFuW (ORCPT + 99 others); Wed, 20 Sep 2023 01:50:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232380AbjITFuU (ORCPT ); Wed, 20 Sep 2023 01:50:20 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7C6A394; Tue, 19 Sep 2023 22:50:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id DFB3580A0; Wed, 20 Sep 2023 05:50:14 +0000 (UTC) Date: Wed, 20 Sep 2023 08:50:13 +0300 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Tomi Valkeinen , David Airlie , Daniel Vetter , Douglas Anderson , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , sre@kernel.org, Laurent Pinchart , Arnd Bergmann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com Subject: Re: [PATCH] omap: dsi: do not WARN on detach if dsidev was never attached Message-ID: <20230920055013.GP5285@atomide.com> References: <929c46beecf77f2ebfa9f8c9b1c09f6ec610c31a.1695130648.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <929c46beecf77f2ebfa9f8c9b1c09f6ec610c31a.1695130648.git.hns@goldelico.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:50:23 -0700 (PDT) * H. Nikolaus Schaller [230919 13:38]: > dsi_init_output() called by dsi_probe() may fail. In that > case mipi_dsi_host_unregister() is called which may call > omap_dsi_host_detach() with uninitialized dsi->dsidev > because omap_dsi_host_attach() was never called before. > > This happens if the panel driver asks for an EPROBE_DEFER. > > So let's suppress the WARN() in this special case. Reviewed-by: Tony Lindgren Thanks, Tony