Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp114277lqe; Fri, 5 Apr 2024 14:44:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrsnmeVJEutiTlgRfBxV+mPYk+h6ki3j3tEmdCkQOipUClUhGnkD/HPCSGayWOV+6DS4SCiHA3gn6zYXwI/s1+3OWUNfkIkUyHusre8w== X-Google-Smtp-Source: AGHT+IHV+w8YesJ5EBf6iYzo1ch6Xo+vY6FdTT5UAfzU9TR48fuOXDbZq66VCg/uBN3XAGGT61bm X-Received: by 2002:a05:6a21:6da7:b0:1a5:6e7a:a757 with SMTP id wl39-20020a056a216da700b001a56e7aa757mr3240646pzb.4.1712353474035; Fri, 05 Apr 2024 14:44:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712353474; cv=pass; d=google.com; s=arc-20160816; b=hTUYD7hiDCGrvWTr8Ggg3gDtzeGzxlzKejyrdvtEEmi1NqcrqeuwUyozD+bMD11H4M YisSSIB/vtwP9W5fCXpNSnmEXEJQax6VuQPGKeTUP5aCwaXsqtQPAHC4xW0sKv/wNvZ8 Ggru0LNO2awSfYO5ee5un8tYbPgxV3eA168fIcSs9LhreKaBYp1RUmJD5GV6HGMjksN2 Nx5FmV1yoKZKvmbiwu5cFzBHLjz4PZJQSNtmv7PmCgGaaEI24esrFMZ+sJ72tzlEjWbx Pjqj9fI8wosssP1jrNbfj2coBa7RcWkBNNBSAnStg7bqfygHYs/xiHv5x/veIYvnG/yl C7BQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TIKqf+/mjzQE++LZKAfQ2rUXtVcdStL2Y6GyMNGqRI8=; fh=BryxxHUh4Ati6RM3PJbaOAwvur+6LLF8fsJ05kLO2hs=; b=Slksw+75OjUihhfAfsEo312O21fogKXkM7ZMikt0TNtm7DE3KVAtIu27Ht5li+oEV4 1wU9VVfznQKg12tIViEvNckfCpLb0XQ7wi0k4dqMAO2S+MuGg0Le3TW9Add+eLdCwsKB IqqGBHXxc4CuCDdjeAxBrThjzGhxi71LYdJZcen413Vugxwpousk6vUt/y1Wa1JhQwd6 QOD97cKu/fT0LaZ0PXSzePwIiEWEmMMwH+5eii8ZCFURi8JMQm9bUFFbVdmc4Ai/g8JT PB2m0G4iycKd8NZPTy5pE/FQAU4UYmCAvm1AT8TW+6Uns7B2HSVmQsuf16YSM5kk4jYT HP8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="fcOsco/l"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-133603-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ff19-20020a056a002f5300b006ecf8c67605si1986577pfb.72.2024.04.05.14.44.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 14:44:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133603-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="fcOsco/l"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-133603-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B4ED6282DAB for ; Fri, 5 Apr 2024 21:44:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B143817554F; Fri, 5 Apr 2024 21:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fcOsco/l" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64F371DA32 for ; Fri, 5 Apr 2024 21:44:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353470; cv=none; b=FNzRanMB1wGz+lTaV+6PjET9PmQhRsSal4CkGBoLRb0z/8Nrdp7HTFhWA7C9VbfjhaZVBiKodaz829ewWqLuQ2pTtsp7MLdv/KIkk9tjIwDvhZsSid70V0DAl9eCvK3DpX5Wtpc92iONBMrh6MhTB6Ya9CX0qMkW73UAkU6S07E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353470; c=relaxed/simple; bh=VwUtSHE5K2hbSjDkxBhPMyHvodI0rBVLGkUu9QMlZ8M=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=GvzR+pvJ/YsroexmWqQGlbvxP8MgBiyhSbeYsOZNZgoKCy596u3/u3gMNasQ8Q7hkOAWhmmr7q6/W0VRAWi8FWYYbyyEdkRCOHeDyCuz54oXH438Xa9XWx8P0GashGLj0NTOeGh10nxfwRk9nEP3hTyxJkPoHhJ9uvqjEKoPMdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fcOsco/l; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 435L0uwn018392; Fri, 5 Apr 2024 21:43:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=TIKqf+/mjzQE++LZKAfQ2rUXtVcdStL2Y6GyMNGqRI8=; b=fc Osco/lNvkY6OidF/l10oMq/2bzYr87JRZ5QClRwsOF0qMRXt4Fbz1ai4i80V+xNG n6kTky/7imsZnueu5JfZ1/Apo6xIAcuKe3rTW2TaZIByRFb3pbWuA8oSz0ssIBPC cEObCzwZzNHCJQRg+/DRgTQeDlpBTFc+eyPyes5cwsGKlu8+dCdY6XXwMgOxdGpF e8rxNuAwvoHSq0Et6V1/MXaZ5B3zTi7g+ax8plIEBp1SE1ksHvzFEjIQT6obj9/8 xPNvC3Wo1QdFwtGQwIpJhtUXwFfqSNMTNLArTKyxPYNEUrLsT1bY+efbCCZoRi0t jB7abRAktHMD7Ot/48BQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xahgt1479-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Apr 2024 21:43:46 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 435LhivP032282 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 Apr 2024 21:43:44 GMT Received: from [10.110.71.75] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 5 Apr 2024 14:43:43 -0700 Message-ID: Date: Fri, 5 Apr 2024 14:43:43 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/6] drm/panel: novatek-nt36682e: don't unregister DSI device Content-Language: en-US To: Dmitry Baryshkov , Neil Armstrong , Sam Ravnborg , "Maarten Lankhorst" , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Matthias Kaehlcke , Harigovindan P , Ritesh Kumar , Sumit Semwal CC: , References: <20240404-drop-panel-unregister-v1-0-9f56953c5fb9@linaro.org> <20240404-drop-panel-unregister-v1-2-9f56953c5fb9@linaro.org> From: Jessica Zhang In-Reply-To: <20240404-drop-panel-unregister-v1-2-9f56953c5fb9@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: nXJjY52e_EB-AGW9EaVj9oyjdD6YtJQt X-Proofpoint-ORIG-GUID: nXJjY52e_EB-AGW9EaVj9oyjdD6YtJQt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-05_26,2024-04-05_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 clxscore=1015 lowpriorityscore=0 suspectscore=0 mlxscore=0 malwarescore=0 phishscore=0 impostorscore=0 adultscore=0 bulkscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404050155 On 4/4/2024 3:08 AM, Dmitry Baryshkov wrote: > The DSI device for the panel was registered by the DSI host, so it is an > error to unregister it from the panel driver. Drop the call to > mipi_dsi_device_unregister(). > > Fixes: ea4f9975625a ("drm/panel: Add support for Novatek NT36672E panel driver") > Signed-off-by: Dmitry Baryshkov Reviewed-by: Jessica Zhang > --- > drivers/gpu/drm/panel/panel-novatek-nt36672e.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c > index cb7406d74466..c39fe0fc5d69 100644 > --- a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c > +++ b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c > @@ -614,8 +614,6 @@ static void nt36672e_panel_remove(struct mipi_dsi_device *dsi) > struct nt36672e_panel *ctx = mipi_dsi_get_drvdata(dsi); > > mipi_dsi_detach(ctx->dsi); > - mipi_dsi_device_unregister(ctx->dsi); > - > drm_panel_remove(&ctx->panel); > } > > > -- > 2.39.2 >