[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMAWPa8m5Ey6ee8tK8n8g7T6XL7=ZfLzrQgbW9-2iPVWnUfigw@mail.gmail.com>
Date: Thu, 20 Nov 2014 07:10:35 -0800
From: Kevin Hilman <khilman@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Stephen Boyd <sboyd@...eaurora.org>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Frank Rowand <frowand.list@...il.com>,
linux-serial@...r.kernel.org, Olof Johansson <olof@...om.net>,
Arnd Bergmann <arnd@...db.de>,
Tyler Baker <tyler.baker@...aro.org>,
Kevin Hilman <khilman@...nel.org>
Subject: Re: [PATCH] tty: serial: msm_serial: Don't require DT aliases
Greg,
On Fri, Nov 14, 2014 at 10:39 AM, Stephen Boyd <sboyd@...eaurora.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@...nel.org>
> Tested-by: Kevin Hilman <khilman@...aro.org>
> Signed-off-by: Stephen Boyd <sboyd@...eaurora.org>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists