Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1823343pxb; Mon, 13 Sep 2021 06:22:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT78p2lo11uAlv4/kvt67sCFuFm3P1oW2KQ4xK//t7N0+tBPQa0t/mT3F4+BIMhEwI8wpT X-Received: by 2002:a92:dc01:: with SMTP id t1mr8111774iln.267.1631539322116; Mon, 13 Sep 2021 06:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631539322; cv=none; d=google.com; s=arc-20160816; b=CN9epr2c81IoTB/fr9QX87Pk5NRZbqO2tyj8g18j6ZgjEra5/e4TBWBXqA6GSLVpF5 FZqY1SIZf0Kv7g0BNKxIoUeEQ990dy7nw/qCjjGH/ltb39o0Erc7Arbo6dzQayqBFLob 4uPJwb9swjjm+v1wHy1/oIGLieQsVLCIIA0aQUR8RLYO/Z5q7sgqCHOPLWrIvCxJ3zKc 8XPos9CiIjeTxPFZGfxkPgHmWbWlCHCXKfUbf4Jg2mXpS1RRIIIsUcRh1wBrqQ5nhO1+ 37L4aPYlU7mAj2RNuCmZhROdBhTl3KVqbd2f0P4Xk5CSKG9Pp0QnQeAAUc4RjgNEC6Ua rX5w== 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=opAoXm67pBQtkB6kkq/g6IunrLo1DNetRgjB2Z5ysHs=; b=iy+70hWSQMSoPVvrW9t8wAv+tCDrjIVON4EcMyugIFL13uAFXVQQPrTzpJoDuvZOnW Nqni2KPaVDbcQqLx6gicjmTIySVjN4r1ZHQi9IgJl8ZboCVqImz+W7r0m6iyqNo5oZuR J2PuDpRJAg+bbaJvCiVFvNSKH/u5DYd5EgSqShPtj7U7iooAEjAIA9B1PDFz/ofOqRRQ GQiuFDFBovp/4oZCMcoECprcZZ0U2e8/9m9o5l7B8CeCcGXQO49NnUId+eslbwpe2xFU JdmFLsSKOejUhzU1OypYuBE9fI6U6gyse+3e1Vzv//xcxn+kXtvSMdesP5b3x454eJXM 2ojg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="rhcR/ZF/"; 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 a14si7052296iod.86.2021.09.13.06.21.48; Mon, 13 Sep 2021 06:22:02 -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="rhcR/ZF/"; 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 S240781AbhIMNVf (ORCPT + 99 others); Mon, 13 Sep 2021 09:21:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:35044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240355AbhIMNU2 (ORCPT ); Mon, 13 Sep 2021 09:20:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A4FB861213; Mon, 13 Sep 2021 13:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539117; bh=pIxkAktNOY6QrjhQFrr7cN3KAeyJ+LBvpT2YKAK+pAs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rhcR/ZF/fe+hvKcgHP+U+qDZBBHPvFvGYCqL8LsH+Cyr6qrMlbhcwmUp2yjr7q76Q IH/q/1yYnliulF2/d/4ejzpSLqyYNd8ctUob7tH8kPlLWj8r2Gpjo22e04rt0NIziK 54JaeJiNQCt4/uIX4EYZJubP+LngS7qB9HIN+MV8= 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.4 047/144] media: TDA1997x: enable EDID support Date: Mon, 13 Sep 2021 15:13:48 +0200 Message-Id: <20210913131049.517711514@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131047.974309396@linuxfoundation.org> References: <20210913131047.974309396@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 e43d8327b810..1088161498df 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