Received: by 2002:a05:6520:4d:b0:139:a872:a4c9 with SMTP id i13csp2566844lkm; Mon, 20 Sep 2021 18:54:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0o/DmPLMY05bOwp2A0kUYufBGYTdt1AvyUJzMttKwim+ESfn+ckVvVROUPmHi/kpLiJlF X-Received: by 2002:a02:9621:: with SMTP id c30mr9915952jai.54.1632188884924; Mon, 20 Sep 2021 18:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188884; cv=none; d=google.com; s=arc-20160816; b=vXH2fPiONDfFRXZw0eheBZ2g1Ukeyvq7LGpx7jjh/0XQ37C60WKWCMrgv4lzEqo9RI BbI4oYZgir3qTbhCkhEhGNTqDENtxGwcYm1mU3b41JoZxqzGzrSTIVz1uo+CgkjikN+e aUho8CiLVdGcO6eoIe1a+2izgc2cH/D6nIp5BXo8l7+ILNpYN5kWB8+nerkOVMCNQlPH Ox7iOhZ7rI7KnmiJ72MuqIyoZeevtO5x3I+1p83jmujrD6BNsuZjunJ2Ie3ttGDj0Sfm il+lCiHwyCO7wZtXO/kCEnfpNECGQyzSfbgjTPU1afBu5fjXJ+JMi1NjsoXgMgTyGyQc dZkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MCqC5y1pCTVMz/+5+qfnIfHTjfCm09hVOUHVatXjTM0=; b=BXkzu9LwPHLsz8TCNGc5AqiIgQT4o7H8FzlyP4stRVNtReBtMByp8BzpKhdDfxUXub uMvOy8wJjfZp/e3Z9v6HBjYo1uwq39v/7hfa4oRiwINkBX4pYs9eyQBLstOe5I2OUpk/ g9GAE/DmVZ+ge7uwW7kKOeZhM+OX5GD2B5pOiAsf51331FZkg8T1Per2Mw3gg+99OJQ/ DNWJI3mUzON39y+u5SXr1g1Vq/YXSRgKAyjobfCJXI4BLPNP0K5Fk8AjoL1EHULtNq2G bnr69ZSYwGbemqH9gUr45qHkrPQ7oDXPWYm/WwYIcAeMTb5hGsR6UKkwo0JjnKJ6AzzT XZsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FviPEMS4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si16835214iom.99.2021.09.20.18.47.54; Mon, 20 Sep 2021 18:48:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FviPEMS4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348369AbhITRiy (ORCPT + 99 others); Mon, 20 Sep 2021 13:38:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:40862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347957AbhITRgo (ORCPT ); Mon, 20 Sep 2021 13:36:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D5BEE615A6; Mon, 20 Sep 2021 17:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632157596; bh=U4rjSsLhtKHkhPDxki2lr2YctzUD0/73TwCs51t1cw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FviPEMS48ckKjy0re+p1QAcz1agxSX9F1k9J6J00BG/Fe2djLXjQ4T+x7paqCH036 5QVxX7XXYZnseCZDDuGscS4no1dyxH0o7BxjESH2PFRMUEhqED0lTWyPumBy05+n+P mgGqf8K3luWuzp/YunTyRR7yjARs1H5NLqOvbqXI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Halasa , Hans Verkuil , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 4.19 062/293] media: TDA1997x: enable EDID support Date: Mon, 20 Sep 2021 18:40:24 +0200 Message-Id: <20210920163935.381055365@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163933.258815435@linuxfoundation.org> References: <20210920163933.258815435@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof HaƂasa [ Upstream commit ea3e1c36e38810427485f06c2becc1f29e54521d ] Without this patch, the TDA19971 chip's EDID is inactive. EDID never worked with this driver, it was all tested with HDMI signal sources which don't need EDID support. Signed-off-by: Krzysztof Halasa Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver") Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/i2c/tda1997x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tda1997x.c b/drivers/media/i2c/tda1997x.c index d114ac5243ec..dab441bbc9f0 100644 --- a/drivers/media/i2c/tda1997x.c +++ b/drivers/media/i2c/tda1997x.c @@ -2229,6 +2229,7 @@ static int tda1997x_core_init(struct v4l2_subdev *sd) /* get initial HDMI status */ state->hdmi_status = io_read(sd, REG_HDMI_FLAGS); + io_write(sd, REG_EDID_ENABLE, EDID_ENABLE_A_EN | EDID_ENABLE_B_EN); return 0; } -- 2.30.2