From patchwork Tue Dec 6 10:24:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: matrandg@cisco.com X-Patchwork-Id: 9462299 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0751B60231 for ; Tue, 6 Dec 2016 10:34:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F37AB28358 for ; Tue, 6 Dec 2016 10:34:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E416D2836D; Tue, 6 Dec 2016 10:34:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, USER_IN_DEF_DKIM_WL autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80B0B28358 for ; Tue, 6 Dec 2016 10:34:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751646AbcLFKep (ORCPT ); Tue, 6 Dec 2016 05:34:45 -0500 Received: from aer-iport-4.cisco.com ([173.38.203.54]:30066 "EHLO aer-iport-4.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388AbcLFKen (ORCPT ); Tue, 6 Dec 2016 05:34:43 -0500 X-Greylist: delayed 600 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Dec 2016 05:34:43 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=704; q=dns/txt; s=iport; t=1481020483; x=1482230083; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=ipINhLPNCU+igStKDNZ5++LRmTy5Y11oi1VdBdffBXU=; b=nA8rjvpNJQtCddasshJNA7pWbZ/sAtEULMbcgRORpJlKOU7mAZKZMbBe jBc+oSTbvg2O88hko+5dHQvHwK2muvIUxC0LSO+spOq5/qnLC5LbncQ5r Dv47QyCBZ60qOfvlP11BKPxSog4ybWJZEFJJ5A0xIg72G6n4k8Kn0/anY k=; X-IronPort-AV: E=Sophos;i="5.33,309,1477958400"; d="scan'208";a="650493122" Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2016 10:24:45 +0000 Received: from mrapc.rd.cisco.com ([10.47.76.179]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id uB6AOasq007704; Tue, 6 Dec 2016 10:24:45 GMT From: matrandg@cisco.com To: linux-media@vger.kernel.org Cc: Mats Randgaard Subject: [PATCH 3/3] tc358743: ctrl_detect_tx_5v should always be updated Date: Tue, 6 Dec 2016 11:24:29 +0100 Message-Id: <1481019869-20093-3-git-send-email-matrandg@cisco.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481019869-20093-1-git-send-email-matrandg@cisco.com> References: <1481019869-20093-1-git-send-email-matrandg@cisco.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mats Randgaard The control for +5V Power detection must also be updated when the EDID is not present. Signed-off-by: Mats Randgaard --- drivers/media/i2c/tc358743.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c index 257969a..f569a05 100644 --- a/drivers/media/i2c/tc358743.c +++ b/drivers/media/i2c/tc358743.c @@ -404,6 +404,7 @@ static void tc358743_enable_edid(struct v4l2_subdev *sd) if (state->edid_blocks_written == 0) { v4l2_dbg(2, debug, sd, "%s: no EDID -> no hotplug\n", __func__); + tc358743_s_ctrl_detect_tx_5v(sd); return; }