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 casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXPhe-0003uO-37 for barebox@lists.infradead.org; Tue, 08 Apr 2014 06:40:14 +0000 Date: Tue, 8 Apr 2014 08:39:28 +0200 From: Sascha Hauer Message-ID: <20140408063928.GY27055@pengutronix.de> References: <1394807569-23620-1-git-send-email-s.hauer@pengutronix.de> <1394807569-23620-22-git-send-email-s.hauer@pengutronix.de> <1396881955.683284818@f310.i.mail.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1396881955.683284818@f310.i.mail.ru> 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 21/29] video: rework mode_name parameter setting To: Alexander Shiyan Cc: barebox@lists.infradead.org T24gTW9uLCBBcHIgMDcsIDIwMTQgYXQgMDY6NDU6NTVQTSArMDQwMCwgQWxleGFuZGVyIFNoaXlh biB3cm90ZToKPiBGcmksIDE0IE1hciAyMDE0IDE1OjMyOjQxICswMTAwINC+0YIgU2FzY2hhIEhh dWVyIDxzLmhhdWVyQHBlbmd1dHJvbml4LmRlPjoKPiA+IFdlIGhhdmUgZGV2X2FkZF9wYXJhbV9l bnVtKCkgbm93LCBzbyB1c2UgaXQgZm9yIHRoZSBtb2RlX25hbWUKPiA+IHNldHRpbmcuIEFsc28g ZHJvcCB0aGUgc3BlY2lhbCBjYXNlIGZvciBzaW5nbGUgbW9kZSBmcmFtZWJ1ZmZlcnMsCj4gPiBq dXN0IGFkZCB0aGUgbW9kZV9uYW1lIHBhcmFtZXRlciBmb3IgdGhpcyBjYXNlIGFzd2VsbC4KPiA+ IAo+ID4gU2lnbmVkLW9mZi1ieTogU2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zcgSGlsZGVzaGVpbSwgR2Vy bWFueSB8IFBob25lOiArNDktNTEyMS0yMDY5MTctMCAgICB8CkFtdHNnZXJpY2h0IEhpbGRlc2hl aW0sIEhSQSAyNjg2ICAgICAgICAgICB8IEZheDogICArNDktNTEyMS0yMDY5MTctNTU1NSB8Cgpf X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpiYXJlYm94IG1h aWxpbmcgbGlzdApiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xpc3RzLmluZnJh ZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJlYm94Cg==