diff options
author | 2014-07-24 14:02:55 +0200 | |
---|---|---|
committer | 2014-07-27 11:05:08 -0700 | |
commit | 5b4e79ae452613a9d391cf1e5ab7e9a49241ad28 (patch) | |
tree | 221208e8ee8463db4e48af705505c78712f4553d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: serial: msm: Make of_device_id array const (diff) | |
download | linux-dev-5b4e79ae452613a9d391cf1e5ab7e9a49241ad28.tar.xz linux-dev-5b4e79ae452613a9d391cf1e5ab7e9a49241ad28.zip |
serial: st-asc: Don't call BUG in asc_console_setup()
In order to prevent an asc instance to be used as early console, BUG_ON is
used on either mapbase or membase being NULL.
Problem is that this condition is also true when we set console to be a ttyASx
different to the first asc instance being probed.
Instead of calling BUG_ON, it now returns -ENXIO when either mapbase or
membase is NULL.
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions