From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s250.sam-solutions.net ([217.21.49.219]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xr6LT-0003EV-CE for barebox@lists.infradead.org; Wed, 19 Nov 2014 14:35:00 +0000 From: Dmitry Lavnikevich Date: Wed, 19 Nov 2014 14:34:30 +0000 Message-ID: <32E09793-6604-4967-8DEA-69673F966B1C@sam-solutions.com> References: <1416175114-3132-1-git-send-email-d.lavnikevich@sam-solutions.com> <20141119064415.GJ14482@pengutronix.de> In-Reply-To: <20141119064415.GJ14482@pengutronix.de> Content-Language: en-US Content-ID: <2759C15AD79FE047BF0E397B9131B726@sam-solutions.net> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] mtd: nand-mxs: Gate ENFC_CLK_ROOT clock off before changing nand clock rate To: Sascha Hauer Cc: "barebox@lists.infradead.org" Pj4gCWlmIChteHNfbmFuZF9pc19pbXg2KG5hbmRfaW5mbykpIHsNCj4+ICsJCXZhbCA9IHJlYWRs KE1YQ19DQ01fQ0NHUjIpOw0KPj4gKwkJdmFsICY9IH5NWENfQ0NNX0NDR1IyX0lPTVVYX0lQVF9D TEtfSU9fTUFTSzsNCj4+ICsJCXdyaXRlbCh2YWwsIE1YQ19DQ01fQ0NHUjIpOw0KPj4gKw0KPj4g CQljbGtfc2V0X3JhdGUobmFuZF9pbmZvLT5jbGssIDk2MDAwMDAwKTsNCj4+ICsNCj4+ICsJCXZh bCA9IHJlYWRsKE1YQ19DQ01fQ0NHUjIpOw0KPj4gKwkJdmFsIHw9IE1YQ19DQ01fQ0NHUjJfSU9N VVhfSVBUX0NMS19JT19NQVNLOw0KPj4gKwkJd3JpdGVsKHZhbCwgTVhDX0NDTV9DQ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