Re: [PATCH] tty: serial: msm_serial: Don't require DT aliases

From: Kevin Hilman
Date: Thu Nov 20 2014 - 10:10:43 EST


Greg,

On Fri, Nov 14, 2014 at 10:39 AM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote:
> If there isn't a DT alias then of_alias_get_id() will return
> -ENODEV. This will cause the msm_serial driver to fail probe,
> when we want to keep the previous behavior where we generated a
> dynamic line number at probe time. Restore this behavior by
> generating a dynamic id if the line number is still negative
> after checking for an alias or in the non-DT case looking at the
> .id field of the platform device.
>
> Reported-by: Kevin Hilman <khilman@xxxxxxxxxx>
> Tested-by: Kevin Hilman <khilman@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

Can you add this to tty-next. Without this, all the ARM/qcom boards
do not boot in linux-next.

Thanks,

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/