commit | 08f937f4bcbe156773834935018c9bf7874a42f3 | [log] [tgz] |
---|---|---|
author | Janusz Uzycki <j.uzycki@elproma.com.pl> | Fri Nov 14 23:24:33 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 25 17:06:39 2014 -0800 |
tree | 77613195d9f73a5a740e8115eea2584ada59505e | |
parent | f3006e44dd3dc0f2d0ce636585ed95d5b4ad6f35 [diff] |
serial: mxs-auart: fix gpio change detection on interrupt mxs_auart_modem_status() did't detect gpio's state change because s->mctrl_prev was modified before by mctrl_gpio_get(). The patch introduces mctrl_temp variable to fix the bug. Signed-off-by: Janusz Uzycki <j.uzycki@elproma.com.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>