diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-03-02 23:42:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-09 20:01:19 +0100 |
commit | ca7c22fc9e8d16b11b8be81254d5f59c5a9f5bcf (patch) | |
tree | cf6158cab52311a251c54d174490a1657a83edb5 /include | |
parent | serial: 8250_dw: Switch to use acpi_dev_present() (diff) | |
download | linux-ca7c22fc9e8d16b11b8be81254d5f59c5a9f5bcf.tar.xz linux-ca7c22fc9e8d16b11b8be81254d5f59c5a9f5bcf.zip |
serial: mxs-auart: disable clks of Alphascale ASM9260
In case of Alphascale ASM9260 probe() enables s->clk and s->clk_ahb
via mxs_get_clks(), but there is no disable of the clocks.
The patch adds it to error paths and to mxs_auart_remove().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 254da0d753fb ("serial: mxs-auart: add Alphascale ASM9260 support")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions