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 bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i5TJO-0001AL-4b for barebox@lists.infradead.org; Wed, 04 Sep 2019 11:18:55 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 4 Sep 2019 13:18:51 +0200 Message-Id: <20190904111851.13317-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] video/stm: fix return value handling for of_get_display_timings() To: barebox@lists.infradead.org b2ZfZ2V0X2Rpc3BsYXlfdGltaW5ncygpIHJldHVybnMgTlVMTCBvbiBmYWlsdXJlLCBub3QgYW4g ZXJyb3IgcG9pbnRlci4KCkZpeGVzOiAxNmZkMjQ4NDdkN2EgKCJ2aWRlbzogc3RtZmI6IEFkZCBk ZXZpY2UgdHJlZSBzdXBwb3J0IikKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUu a2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0tCiBkcml2ZXJzL3ZpZGVvL3N0bS5jIHwg NCArKy0tCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQoK ZGlmZiAtLWdpdCBhL2RyaXZlcnMvdmlkZW8vc3RtLmMgYi9kcml2ZXJzL3ZpZGVvL3N0bS5jCmlu ZGV4IDBjMTkwZDM2YWU5Zi4uZDRhNjE4ZmU1MDkxIDEwMDY0NAotLS0gYS9kcml2ZXJzL3ZpZGVv L3N0bS5jCisrKyBiL2RyaXZlcnMvdmlkZW8vc3RtLmMKQ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