commit | 434be0ae7aa746f481c3a22139e472dbc3f4f817 | [log] [tgz] |
---|---|---|
author | Yegor Yefremov <yegorslists@googlemail.com> | Tue May 31 10:59:17 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 25 14:30:42 2016 -0700 |
tree | fca59c48899d22965b4cdba30dc148bb98036eb3 | |
parent | bf5cee681e57babde5358a71e59b75151eb02c1a [diff] |
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>