commit | 1fba6a594cfd1ea0f1fc8a97e22f43def1505d74 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Tue Jan 12 10:49:32 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 06 22:16:21 2016 -0800 |
tree | 1e3c7d05a36f2f0df9140b14dda1022437a62bd1 | |
parent | 75d611bf01737d8456093804377e5cb0a60a9038 [diff] |
TTY: serial/mpsc, stop leaking mappings When mpsc_routing_base, sdma_intr_base, mpsc_base, sdma_base, and brg_base are mapped, they are never unmapped. The condition in the free paths is always 'if (!XXX_base) { unmap }'. Fix it by inverting the condition. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>