From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Date: Fri, 23 May 2014 10:31:55 +0000 Subject: Re: [PATCH] video: of: display_timing: fix default native-mode setting Message-Id: <537F239B.9010504@ti.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="d4UQeRwg49oKxoqsXg4gdUoXgSrU0m7Lm" List-Id: References: <1399643592-17125-1-git-send-email-boris.brezillon@free-electrons.com> In-Reply-To: <1399643592-17125-1-git-send-email-boris.brezillon@free-electrons.com> To: Boris BREZILLON Cc: Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org --d4UQeRwg49oKxoqsXg4gdUoXgSrU0m7Lm Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/05/14 16:53, Boris BREZILLON wrote: > Set native mode to the first child node of the display-timings node and= not > the first child node of the display-timings parent node. >=20 > Signed-off-by: Boris BREZILLON > --- > drivers/video/of_display_timing.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_displ= ay_timing.c > index ba5b40f..19dd752 100644 > --- a/drivers/video/of_display_timing.c > +++ b/drivers/video/of_display_timing.c > @@ -164,7 +164,7 @@ struct display_timings *of_get_display_timings(stru= ct device_node *np) > entry =3D of_parse_phandle(timings_np, "native-mode", 0); > /* assume first child as native mode if none provided */ > if (!entry) > - entry =3D of_get_next_child(np, NULL); > + entry =3D of_get_next_child(timings_np, NULL); > /* if there is no child, it is useless to go on */ > if (!entry) { > pr_err("%s: no timing specifications given\n", >=20 Queued for 3.16. Tomi --d4UQeRwg49oKxoqsXg4gdUoXgSrU0m7Lm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTfyOhAAoJEPo9qoy8lh71uMcQAKB0BbU+4iPV+Sp99XZGMapt HVWxnoYwQkyZsbJVltI3O7WTRRJMXEuHpOizraUKBz5yQgHd9BPcqRInswyzoSsM /9U8TNDoYlU9g6uglbUC08gupOeC4PIqLt6whECle9w1WstatbYNSKBAOGKnI6Rm OhNkKCQY0aRVb63j4EXwaoDo8+LclslsYQMqqqiFiWvSN8swT5eOWD2wiDOFLY2V btsQKbn4B7c7TZNUQWSGzV4UjZ82bnj6vn3GeMgRG+wKUaBujte/qJdDNP1hnrkK sqmDEgYzmtLcNCHPLsam20PiY3BRpZxZ59wvspy8mlPHD7iDqUAETNbjumU97a/Q meGjOtxPe0GlmZ7wcmwiCfI3tWTDdRmighv+N+TFTukjDsCqzxUFfGjJuZV+rIYq BgiJsgboAB2ZPDgE0QHzbsL89gVFh1C1IwS+yS9ocv6DvGwPJeiOZFliaNWnAz2e 9DWJcsjnHkuQ+OKmfJ/3pBwFIWF0bvSu72/olVXDag6WpLqgL1HZB4ntW2dLSQdu WqFsa01dzbhbVI2zcptT1mnGV4jGwleWRc8X760b9+Mo+dQn0sOL7aSC5w2Dz519 gM39rSOtbyuV/wvuTAm5dJP9j0m63wj4er2ahyGLQoEp0orpWscyCHIUfT1+uRRU RBocjUMWfGBbYDy9s7sh =pyiQ -----END PGP SIGNATURE----- --d4UQeRwg49oKxoqsXg4gdUoXgSrU0m7Lm--