From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1THbPR-0001N4-Kg for barebox@lists.infradead.org; Fri, 28 Sep 2012 14:19:18 +0000 Date: Fri, 28 Sep 2012 16:19:15 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Message-ID: <20120928141915.GF16606@pengutronix.de> References: <1348700206-30581-1-git-send-email-u.kleine-koenig@pengutronix.de> <20120927095312.GU1322@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120927095312.GU1322@pengutronix.de> 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] [RFC] i2c-imx: send a soft bus reset during probe To: Sascha Hauer Cc: barebox@lists.infradead.org, kernel@pengutronix.de SGVsbG8sCgpPbiBUaHUsIFNlcCAyNywgMjAxMiBhdCAxMTo1MzoxMkFNICswMjAwLCBTYXNjaGEg SGF1ZXIgd3JvdGU6Cj4gU291bmRzIGdvb2QuIFdlIG9mdGVuIGhhdmUgdGhpcyBwcm9ibGVtLgo+ IAo+IEkgd29uZGVyIGlmIGl0J3Mgd29ydGggdG8gaGF2ZSB0aGlzIGFzIGEgZ2VuZXJhbCBjYWxs YmFjayBpbiB0aGUgaTJjCj4gbGF5ZXIuClVuZm9ydHVuYXRlbHkgbXkgcGF0Y2ggZG9lc24ndCB3 b3JrLiBUaGUgcHJvYmxlbSBpcyB0aGF0IGlmIGFuIGkyYyBzbGF2ZQppcyBzdHVjayB3aXRoIHNk YSBsb3cgdGhlIGlteCBkaWFnbm9zZXMgYSBsb3NzIG9mIGFyYml0cmF0aW9uIGJlZm9yZQpldmVu IH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