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

Kevin Hilman khilman at kernel.org
Thu Nov 20 07:10:35 PST 2014


Greg,

On Fri, Nov 14, 2014 at 10:39 AM, Stephen Boyd <sboyd at codeaurora.org> 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 at kernel.org>
> Tested-by: Kevin Hilman <khilman at linaro.org>
> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>

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

Thanks,

Kevin



More information about the linux-arm-kernel mailing list