Message ID | 20231219170100.188800-10-knaerzche@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-5627-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2080803dyi; Tue, 19 Dec 2023 09:04:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdGnnFeCjnpzI33X6KQzxneCiPZWUuDqqRT9nnvFDlLWoYtds/rP8hIPz8T8dJ2+vx1Tn3 X-Received: by 2002:a17:90b:1113:b0:286:6cc1:289 with SMTP id gi19-20020a17090b111300b002866cc10289mr8410111pjb.84.1703005475200; Tue, 19 Dec 2023 09:04:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703005475; cv=none; d=google.com; s=arc-20160816; b=cYeeuP92Q9L2AQxPWhJ+yvjpCo6Q7l+P5mpgG9uKbaeCSSRdI5eKuEc83fYQ7y7i0s DVfXokpXN7W4pnY+QIo+mX9rzsbhYS/8if8eCYX+y4hJ6hbqu9kdkaoxcBZZWlk6Ky1I AK4JXAfQZ7EHLEB2LBMtzVtPQjE5lMV4A4dvoeaTRdWG6LZYJhq+LIhPEG7X3/9umJb2 7zfJTnsWUcoXuxC5ohRPbSd1IoqTB14Isejib13lV1s0vflCp3zxyH+6eO8sX878poYx Ab6tfUkEGbtmksKaSyS1Ai76Q0XEc7B0xRG6Pr/G5CLLdpPDVI5ONtGHzqDOsqvqarnC q+CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SMIbD+dY7Kjgg6ECXdMxWD6N2Rzqy4kZE/eQIX1m8rA=; fh=k7ZhfSDxugAUNAX9PFQjqQnTRGZ+rgCl5CN8/TdzbyU=; b=fNzow6Xx72zCgy75MFrpVNMGkZLNDIPm0sHYBa8tp+d5gzxk7KavHwn/bbZRREeCX9 fy0Qh3yasn3TMDcItTgb3drSVWXsFE5ENUca2A0YDYErXQyO7NSpNSf4rHvoS4BOFsNg MrI9k6RxZPgxXnli5489YoJAUKvkAYEElYPFaQvjhgoJciaPRJ73wU1z2EZkqmGob8FD hR/3PBehewfSw+2DXIe6kDFlwLFItCIGU37+2ki+/NFYTrDHrcTkdTOEruvLmiK1hl9w xYk4vWY/E40MHVbaVu9xcUjqF+p2gf3lR9rhGdaDso94sOXDj19SDmTljqMQE444dfRY GiLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=N2wiOP4l; spf=pass (google.com: domain of linux-kernel+bounces-5627-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5627-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h20-20020a17090acf1400b0028bbbc85937si1422244pju.22.2023.12.19.09.04.35 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:04:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5627-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=N2wiOP4l; spf=pass (google.com: domain of linux-kernel+bounces-5627-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5627-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 BBFCD2837AE for <ouuuleilei@gmail.com>; Tue, 19 Dec 2023 17:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5C2B39879; Tue, 19 Dec 2023 17:01:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N2wiOP4l" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43CC7374D6; Tue, 19 Dec 2023 17:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-40d2e56f3a6so2740315e9.1; Tue, 19 Dec 2023 09:01:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703005275; x=1703610075; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SMIbD+dY7Kjgg6ECXdMxWD6N2Rzqy4kZE/eQIX1m8rA=; b=N2wiOP4l4aUAfqAZSwo1LPcCMf/dqsKI0fl+SYWpkz1g2kKsWeebO9pL/F51Jjqg1t y41X7SZ57umzATIaH0/DbUjRBXtIrzDVjAeS2qsPmaA532HVE28m/Ix1ue/gOo9S/5Gz UlH/yNtPMxLQRGC2Vp2LtCKvo2sS3ZN+HlzaUv3FNkb3bSRA9jtyr1geRyNPyPZviD6L WIrUdxBbBvXeKRYAgQCOUPemBgSlqPuALFeruMxQ95CRtI4k/P4ZFewiCztReV5tXLmE +djTloKC7PrCypugqLbbAt2fGBu4RbEb9IIsPgX2laGn2a6eodk0N2VQsi73GaDRs9rg rugQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703005275; x=1703610075; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SMIbD+dY7Kjgg6ECXdMxWD6N2Rzqy4kZE/eQIX1m8rA=; b=VnU3bkYRxOu+XCTEWn24Blz71ghYyL38KlyMlFe9IFYGO9NLBhKC7Ee6YWlP83gNcM 5tOyckJdG4YtHCQLyQJ6epdxJ0dMZX1XSmOV4m2QumyIrErDHuFDZ++5F1VlXy+57o9L ajDuE0rYI0gWxpHfslJbpFYWMc/KqmZlevUE/MPPoq3Gc6JblnvoUhCoEdUfTH7mnm9k WaHUYLrBLPGi91GXsQWqSm/fp4LNjHaF3PhOToEmGjLiFSNbo8ieksmkivCnevulLAwx YguZnBaCQVyWQbvq2benbirqafcFf+hxZoTY90pR6YGdpPbAlsuVrTM7VFdtUzLvwYvG DyMg== X-Gm-Message-State: AOJu0Yx2C2cU94CMzycf0gIHvi6RixRiTmwycOYu21CM84bbcR+7t8rF Bp89WllE6d05LjI1ksFp9V/jcE51yA== X-Received: by 2002:a05:600c:6988:b0:40b:5e4a:233e with SMTP id fp8-20020a05600c698800b0040b5e4a233emr768909wmb.64.1703005275517; Tue, 19 Dec 2023 09:01:15 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:7ae5:3e:d1c6:a138]) by smtp.gmail.com with ESMTPSA id i7-20020a05600c354700b0040d2805d158sm3225878wmq.48.2023.12.19.09.01.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:01:15 -0800 (PST) From: Alex Bee <knaerzche@gmail.com> To: Sandy Huang <hjc@rock-chips.com>, =?utf-8?q?Heiko_St=C3=BCbner?= <heiko@sntech.de>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee <knaerzche@gmail.com> Subject: [PATCH v3 09/29] drm/rockchip: inno_hdmi: Remove unneeded has audio flag Date: Tue, 19 Dec 2023 18:00:39 +0100 Message-ID: <20231219170100.188800-10-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231219170100.188800-1-knaerzche@gmail.com> References: <20231219170100.188800-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785730668797117185 X-GMAIL-MSGID: 1785730668797117185 |
Series |
Add HDMI support for RK3128
|
|
Commit Message
Alex Bee
Dec. 19, 2023, 5 p.m. UTC
From: Maxime Ripard <mripard@kernel.org> The sink_has_audio flag is not used anywhere in the driver so let's get rid of it. It's redundant with drm_display_info.has_audio anyway. Signed-off-by: Maxime Ripard <mripard@kernel.org> Tested-by: Alex Bee <knaerzche@gmail.com> Signed-off-by: Alex Bee <knaerzche@gmail.com> --- changes in v2: - imported patch changes in v3: - added my SoB drivers/gpu/drm/rockchip/inno_hdmi.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno_hdmi.c index d99896f1a73a..58aff7a9c09a 100644 --- a/drivers/gpu/drm/rockchip/inno_hdmi.c +++ b/drivers/gpu/drm/rockchip/inno_hdmi.c @@ -28,7 +28,6 @@ #include "inno_hdmi.h" struct hdmi_data_info { - bool sink_has_audio; unsigned int enc_in_format; unsigned int enc_out_format; unsigned int colorimetry; @@ -554,7 +553,6 @@ static int inno_hdmi_connector_get_modes(struct drm_connector *connector) edid = drm_get_edid(connector, hdmi->ddc); if (edid) { - hdmi->hdmi_data.sink_has_audio = drm_detect_monitor_audio(edid); drm_connector_update_edid_property(connector, edid); ret = drm_add_edid_modes(connector, edid); kfree(edid);