diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-05-31 11:59:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-26 00:30:42 +0300 |
commit | 434be0ae7aa746f481c3a22139e472dbc3f4f817 (patch) | |
tree | fca59c48899d22965b4cdba30dc148bb98036eb3 /include/linux/serial_8250.h | |
parent | bf5cee681e57babde5358a71e59b75151eb02c1a (diff) | |
download | linux-434be0ae7aa746f481c3a22139e472dbc3f4f817.tar.xz |
serial: mctrl_gpio: enable API usage only for initialized mctrl_gpios struct
This workaround is needed for the cases, where mctrl_gpio API is used
before mctrl_gpio_init() was invoked. This happens in 8250 during
console initialization, as the driver sets DTR signal.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_8250.h')
0 files changed, 0 insertions, 0 deletions