Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1867239yba; Thu, 25 Apr 2019 07:02:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4NpXTjWDhu8JP7hKM+abT/zm8qU4bUubRWF9CCFyQRLs/KXrBCeZzXgwRP1g2DvBjxVlN X-Received: by 2002:a63:7e10:: with SMTP id z16mr38377958pgc.40.1556200959795; Thu, 25 Apr 2019 07:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556200959; cv=none; d=google.com; s=arc-20160816; b=CqHjyRs/0DQIloYVG4WCCY6akcj4lvPfOxWi7Rlhf2nbMcsKLxk2DJWB+F8AfUSz9B wJfd3SPKvf5Yo41lRLJ22Kl32tLBc1S3NFJLlNo/ps3UYYBt2RkPKoYwk/dVVEWj8BzM ptJjnmWtENLIgS+xp/+mN8QyXbN4ulPvqogivU79qNV2+4RNETGuHxMJ7xS51b/NuMh7 ZrGpBGi5zhCFuSuZmNOvP/LQDD6FUgTeFAD7YCKB8LKqhB1ZS03Ov8A0J+Q5tyN18Zna 1lidrNtKOnW3p/1axiurMAim3ybVn4Lr3duvDF8O5zmIzeVcG8x7fVClSerk3G/0uDT7 mdpw== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=bm0v2SKOAqLFTnLsoPeCFq1wYIKHNr6xoLZJSPArh+U=; b=o06Wg1QpIGRSKaaL9imC1i2ltCjSEYJOu+hrXVZ9eb4BulrCtoVDmK6nRmc+9cwDz6 yNjIZIrR5renZPVeD0N1Y3bPaOnZgbuIjKxxU2gpjX6vnn2yspj5oZDWSxOaG7N8PELu +DC4HCiN71hwuSY5vLEfz8V5MXbY087s1ql0JGhO7cyjjT4bf3NCqnMBUOUe11Ebt05D aHE5CennZnD/xuhZNuK/UB3lYbD+qr/S0hbCo7zlc5SEovR+C3y/Ubj4qwc86y5gnkkD 7+mVWX5d/sg177bl3mgmfPGCGRTliMmrxgWN28tcNedUnF4Id1qajZeM2/feg3ncqli4 bKMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=0yT034Vg; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f127si22835934pfc.176.2019.04.25.07.01.52; Thu, 25 Apr 2019 07:02:39 -0700 (PDT) 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=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=0yT034Vg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387854AbfDYMgo (ORCPT + 99 others); Thu, 25 Apr 2019 08:36:44 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:27617 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbfDYMgf (ORCPT ); Thu, 25 Apr 2019 08:36:35 -0400 X-IronPort-AV: E=Sophos;i="5.60,393,1549954800"; d="scan'208";a="29070903" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Apr 2019 05:36:35 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.107) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 25 Apr 2019 05:36:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bm0v2SKOAqLFTnLsoPeCFq1wYIKHNr6xoLZJSPArh+U=; b=0yT034VgPUCepOkAJr7E/aiOwXPcNTgJhcsze3wyRQTdLDQwQ1sfUhV8DupKxhiVW1GOWYoyBF/lOYlZ8GT/prSLqNJMUGrupKwtMR4GDbkxKGA/LI+iUIf5BqrjdmXrHbYNkV1kC91DsahfWH16NRi/jAoD/TAUcm7ZdQaF4dg= Received: from MWHPR11MB1549.namprd11.prod.outlook.com (10.172.54.17) by MWHPR11MB1726.namprd11.prod.outlook.com (10.169.237.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.12; Thu, 25 Apr 2019 12:36:31 +0000 Received: from MWHPR11MB1549.namprd11.prod.outlook.com ([fe80::f01a:9325:7a65:cdb4]) by MWHPR11MB1549.namprd11.prod.outlook.com ([fe80::f01a:9325:7a65:cdb4%4]) with mapi id 15.20.1813.017; Thu, 25 Apr 2019 12:36:31 +0000 From: To: , , , , , , , CC: , , , , , Subject: [RESEND][PATCH v3 4/6] drm: atmel-hlcdc: enable sys_clk during initalization. Thread-Topic: [RESEND][PATCH v3 4/6] drm: atmel-hlcdc: enable sys_clk during initalization. Thread-Index: AQHU+2OCAotEdimhnESxLYiP7v88dg== Date: Thu, 25 Apr 2019 12:36:30 +0000 Message-ID: <1556195748-11106-5-git-send-email-claudiu.beznea@microchip.com> References: <1556195748-11106-1-git-send-email-claudiu.beznea@microchip.com> In-Reply-To: <1556195748-11106-1-git-send-email-claudiu.beznea@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0802CA0024.eurprd08.prod.outlook.com (2603:10a6:800:aa::34) To MWHPR11MB1549.namprd11.prod.outlook.com (2603:10b6:301:c::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Claudiu.Beznea@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8f8679e8-5b40-44b0-7eca-08d6c97aa4ab x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:MWHPR11MB1726; x-ms-traffictypediagnostic: MWHPR11MB1726: x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(396003)(39850400004)(346002)(376002)(199004)(189003)(81156014)(7416002)(81166006)(97736004)(2201001)(53936002)(5660300002)(8676002)(2501003)(2906002)(86362001)(50226002)(305945005)(6436002)(68736007)(6486002)(72206003)(107886003)(71190400001)(14454004)(6512007)(8936002)(478600001)(186003)(66066001)(76176011)(26005)(14444005)(256004)(476003)(7736002)(71200400001)(486006)(110136005)(54906003)(6506007)(386003)(6116002)(102836004)(66476007)(66446008)(66946007)(66556008)(36756003)(73956011)(64756008)(11346002)(4326008)(446003)(52116002)(316002)(99286004)(3846002)(2616005)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR11MB1726;H:MWHPR11MB1549.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Zw3MQrkSrUJnt8aCxgxcVUX11f0bE6E4hcP+Fso8a8WmUEOei6igrRmRLgvqFp2H3OzZBXmku90wERq3EWKoHtcKYdp3R/lbIkVpw+Fq0KxfRTV55X2d8EUyqfmfNuzZTmWhpWQsi5zpBEQjzfmdJpcMgefRRZ+Il8htgJrbIEayFjFohgHA18kj75gYPd8SXJKL5lYUsk5jDKRdVj+qCSXnAAA93eFe7sP2DpPMXXo76VTh2lj4A9S1F8rXT0zNk0Nj2eHG9Y/dEe+NOxMRYS8KEGs0LPXYUvyXSDq66qeqnjFIzOZZUhFV7cw+WT9eGlibEm5SL4GbLYHv3JQ+Ts6X4Li83wddUf/Sl/NkEQ5enkTAZfMx/lr3BSo0Ma1FRRCPd3+bDGP2kxZWueK8c7kzfpq2L/WcWNa/CGOa3wQ= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8f8679e8-5b40-44b0-7eca-08d6c97aa4ab X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 12:36:31.0483 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1726 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogU2FuZGVlcCBTaGVyaWtlciBNYWxsaWthcmp1biA8c2FuZGVlcHNoZXJpa2VyLm1hbGxp a2FyanVuQG1pY3JvY2hpcC5jb20+DQoNCkZvciBTQU05WDYwIFNvQywgc3lzX2NsayBpcyB0aHJv dWdoIGxjZF9nY2xrIGNsb2NrIHNvdXJjZSBhbmQgdGhpcw0KbmVlZHMgdG8gYmUgZW5hYmxlZCBi ZWZvcmUgZW5hYmxpbmcgbGNkX2Nsay4NCg0KU2lnbmVkLW9mZi1ieTogU2FuZGVlcCBTaGVyaWtl ciBNYWxsaWthcmp1biA8c2FuZGVlcH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