Received: by 10.223.185.116 with SMTP id b49csp1100273wrg; Sat, 3 Mar 2018 15:33:25 -0800 (PST) X-Google-Smtp-Source: AG47ELuT+UtXygZ2HVv5JfNyYMqUck9uF6Pjwm3iud/7EUz6vqAZ5gtrM0msHruyKHqnZssw00fZ X-Received: by 10.98.62.14 with SMTP id l14mr10490014pfa.206.1520120005114; Sat, 03 Mar 2018 15:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520120005; cv=none; d=google.com; s=arc-20160816; b=WEFImSN0PQRErkYipYy+4cHDN28xM8/1TXksi86tnyzuC70RLRsJ/TgexfW7VbioJW 2NBYvAlRxoAYEkB5K7hijM3xxgB7CIvnCgGPFCZMgd9FJtpmu41JsAzxDzuKhubJxpHa ISqSnzCP+1IW/6qIihMaijvyu+aZBEdkiwrnJRVpPbq9wmNctrpkfMf/bErUkVUwKGrM T5gbtYgGaH2Y442t6jA7vbfu0XbB+9skc25acdlRyzHn5WspPxxV0SNs/qGwusc8oTm+ Zh+HKRZg2O9jHk9kcWfiXRl03+HiDVAXTTZ5X+WUjJVDg7D4pyqU7LYc9BPyJVugrdBC hJ9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=5vbS+CzZUsjEwxMoAOFl4vE9xx6VVRg3r8bKYJA3QBY=; b=hmJJck6tEQZ/bfZDZcGCt6zJwFabNyQ4Wry0cmsDKp0lmmv/4yAg9Q41khu+fSGoHs mmy3LUZaP9fkNAPh9kXLRttA+uItAfZhOLC0hWS5EFb4yGtu40rTxrHBsLbQCcdHC8Uk AVUHEWsDRt+2THJQzlv3la4aHSwl0K3wIZqFYBLa0CHiA+2ppjPaoIs0E96bhPNVD6uS y/cA5yoZdM54wXKSoCF8La0VfyTUzRSlOcCvEbmZn0mojvz3PfQyDzI+Mszg/Bb1U7iv JeuoVS4+BKXqeo2Xa0DX4YoCj7M7WNdt8V1bfdvIFwLUoOdBQf9yzCeUV9huSnFF9GvF Y+sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=DudzHBhZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si6134400pgf.390.2018.03.03.15.33.11; Sat, 03 Mar 2018 15:33:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=DudzHBhZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934635AbeCCXcX (ORCPT + 99 others); Sat, 3 Mar 2018 18:32:23 -0500 Received: from mail-by2nam03on0118.outbound.protection.outlook.com ([104.47.42.118]:7707 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934519AbeCCWgK (ORCPT ); Sat, 3 Mar 2018 17:36:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5vbS+CzZUsjEwxMoAOFl4vE9xx6VVRg3r8bKYJA3QBY=; b=DudzHBhZf/p0H+yL/KQ02qcmg7Vk312B5AUzX7SWlZtUaulE3Y8qEd/McMfDSlaU5P+tgSJosA28tI6ECgM1kFeWNBcl8jipDMj1OKkj2XnBEJ0Oa7JVPTO69NbRyMJ0+QRtNQAKU3uROuw5SBoF4FJ1il3JH7NfTHVcDlheMJ4= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB1020.namprd21.prod.outlook.com (52.132.148.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.1; Sat, 3 Mar 2018 22:36:05 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:36:05 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: =?utf-8?B?VmlsbGUgU3lyasOkbMOk?= , Shashank Sharma , Andrzej Hajda , Thierry Reding , Hans Verkuil , "linux-media@vger.kernel.org" , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 172/219] video/hdmi: Allow "empty" HDMI infoframes Thread-Topic: [PATCH AUTOSEL for 4.9 172/219] video/hdmi: Allow "empty" HDMI infoframes Thread-Index: AQHTsz8dKJNIdb29kkiiUObROwwcfg== Date: Sat, 3 Mar 2018 22:29:37 +0000 Message-ID: <20180303222716.26640-172-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB1020;7:MGvo4Gr/vVkQECqiFHr2f7X0ukTYMKu9HXdhJEV81gA1moEe55b2xw1zlOCrYJ0bWw8184qVr5a2HDFChnh6uvLtNurQlhWsEr8zCKI11pkOlBj2g7JP4hJAuewsVOu8vfqnvG6TbP+gx/msjiecqU0dLTCci/YLtdRhmlSHwk8aK87dvAbzG8see1Nw4HR2JgudnlzVPKbsdXjtNJk8UlAnWlutY3o4U3dMuV9mCwP/5rMFVtYCw/ut35gZ+WeP x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cb46d8db-1236-47b0-4f9b-08d5815726a5 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020);SRVR:MW2PR2101MB1020; x-ms-traffictypediagnostic: MW2PR2101MB1020: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055)(85827821059158)(95692535739014)(7411616537696)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(61426038)(61427038)(6041288)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB1020;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB1020; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(396003)(366004)(346002)(376002)(39860400002)(199004)(189003)(6436002)(5250100002)(99286004)(3846002)(39060400002)(6116002)(8936002)(22452003)(86612001)(86362001)(575784001)(4326008)(10090500001)(68736007)(6512007)(7736002)(97736004)(25786009)(76176011)(1076002)(6486002)(2501003)(6306002)(66066001)(36756003)(107886003)(2950100002)(8676002)(305945005)(5660300001)(105586002)(53936002)(6666003)(3280700002)(81166006)(6506007)(106356001)(2906002)(81156014)(316002)(478600001)(72206003)(10290500003)(2900100001)(54906003)(966005)(110136005)(186003)(102836004)(26005)(14454004)(3660700001)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB1020;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: pa1R/1ix77pu+/yT979+HvpaI0aDe+y7hpbG3FiOP46PZesLl67f/O8ekg9q7Lcm6/J+8nzT1P8VBsebhSsD/JP6POs85cmO882Phaf1t8NM1p49pwyahj8Pmcn7NGjFo0xjyrdRZucwsxMwsViXISu5GsjLtwQQC2TPoY0ic9s= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <7DF9B0A737BB7B46B154DBC232C85550@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb46d8db-1236-47b0-4f9b-08d5815726a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:29:37.6976 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1020 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogVmlsbGUgU3lyasOkbMOkIDx2aWxsZS5zeXJqYWxhQGxpbnV4LmludGVsLmNvbT4NCg0K WyBVcHN0cmVhbSBjb21taXQgNTkzZjRiMTlhMDk0YzQ0MjZiZDFlMWUzY2JhYjg3YTQ4YmQxM2M3 MSBdDQoNCkhETUkgMi4wIEFwcGVuZGl4IEYgc3VnZ2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