Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp82616pxb; Mon, 13 Sep 2021 13:33:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBQ5Mk92eNRDk/vIYm5PzohDU7QFIvdc85DuvYfgJnkqiQD6vH5L+478LHsqzb6ChhfgKA X-Received: by 2002:a6b:710f:: with SMTP id q15mr10744434iog.77.1631565192086; Mon, 13 Sep 2021 13:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631565192; cv=none; d=google.com; s=arc-20160816; b=x/kB4JMe3IZVTtFrCT2sPJn1q5cCg5OAgsR06PH5+GRGYbBSaDuDqJWaFwUyOyuUSH da8A3jUHT5FNcV1wsPjK6az7gfyi1W8UUTPwcQgXVtp9oclBA8UibjrOVs26WoG2ZCXg 2rXWlUVnjKZBEzeqAlWH/Gy/gkdFVVtdTyvaSlrsUWfjqBEEN446uqtCFAZLTFi12vv1 K3yGPVf0TnRaHEvU3iF5IVMlOHYhx9SVteWha7rt2EvqqYM8i9hJsic1t6pBXyZ8oHxw mM1yi9SCzo1TuSF59ui3yQeYNFBQEXrR6sTmGxwEZmGp+q+7FIOQmqvxnzPUbcBVnxiU jjOg== 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=G8aeWmZqXYnipOUC7UALB8AHEgyQX6FLtjmeGFGoDCY=; b=ZlSoerJJIiLdv2/HGZZc8Jq+U9USQCuvKyqMcJ9NIJFLhe6PyAaNhrkTtmYsL1DpiL ufBeoGjHSM0E/Z77lSMSdR7OIEHt4hNrVZv2wzreM+Os1vudkbwP/3j/UaRGve7MtKlU 6fAr5roKs+dTyf1S9i4AEZptqIHpaMtOVdEzbN8m8jjflCxgT5niutf+mAcEPLL4e+Ob y2lDt3jMmwsQYBvlKi3gunFZC9Z37lV/+n5aazsn7/YhialM5mBM6jNlyf4ecATsJQ9n MX9NKHzGh8PP6CVq37jyoMZ046dRHftMH/7pOo8CN9tLdhTa//HrqTMjHNzSZjY1bdd1 j+QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jZG6C6Z4; 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 p20si7227909ilh.62.2021.09.13.13.32.59; Mon, 13 Sep 2021 13:33:12 -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=jZG6C6Z4; 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 S243012AbhIMNiG (ORCPT + 99 others); Mon, 13 Sep 2021 09:38:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:58418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241159AbhIMNci (ORCPT ); Mon, 13 Sep 2021 09:32:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 004A961357; Mon, 13 Sep 2021 13:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539560; bh=qOOevOLNhiAsgu3FtvK0d8BD+Yg9reJfq3YzzOlZygc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jZG6C6Z4GXlaGGSAs2hL1BevNJhHMyFVE/yVvXWZAfHtmAsD4Ihuxe/j13taxOU5M SvhFQSji4dQcpDk23FC7c88u7OOeLGVeZg9fA6D8eb76K56ySmb7eJhsHSeXtSt+cH gyFky+B4/35SGGKIQAF/H7lpxcJYNQndjIDWXFH0= 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 5.10 072/236] media: TDA1997x: enable EDID support Date: Mon, 13 Sep 2021 15:12:57 +0200 Message-Id: <20210913131102.807987235@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@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 89bb7e6dc7a4..9554c8348c02 100644 --- a/drivers/media/i2c/tda1997x.c +++ b/drivers/media/i2c/tda1997x.c @@ -2233,6 +2233,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