From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUpcE-0005Hj-Q8 for barebox@lists.infradead.org; Tue, 20 Oct 2020 11:15:43 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Tue, 20 Oct 2020 13:15:37 +0200 Message-Id: <20201020111537.29328-1-u.kleine-koenig@pengutronix.de> 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: [PATCH] usb: i.MX: improve regulator handling To: barebox@lists.infradead.org SW5zdGVhZCBvZiBqdXN0IGlnbm9yaW5nIGVycm9ycyByZWxhdGVkIHRvIHJlZ3VsYXRvciBnZXR0 aW5nIGVycm9yIG91dC4KSW4gY2FzZSB0aGVyZSBpcyBubyByZWd1bGF0b3IgaW4gdGhlIGRldmlj ZSB0cmVlLCByZWd1bGF0b3JfZ2V0KCkgcmV0dXJucwp0aGUgZHVtbXkgcmVndWxhdG9yIGFuZCBu b3QgYW4gZXJyb3IgY29kZSwgc28gdGhlIGNoYW5nZSBpcyByaWdodCBmb3IKdGhpcyBzaXR1YXRp b24sIHRvby4KClNpZ25lZC1vZmYtYnk6IFV3ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2Vu aWdAcGVuZ3V0cm9uaXguZGU+Ci0tLQogZHJpdmVycy91c2IvaW14L2NoaXBpZGVhLWlteC5jIHwg NyArKysrKy0tCiAxIGZpbGUgY2hhbmdlZCwgNSBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygt KQoKZGlmZiAtLWdpdCBhL2RyaXZlcnMvdXNiL2lteC9jaGlwaWRlYS1pbXguYyBiL2RyaX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