diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-05 23:46:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 11:51:25 +0100 |
commit | 3f08087826950de4688da0aea4e4f64f536fcdd6 (patch) | |
tree | 6efcadc5c4efc54e0603d2faee5fc0e99223ce39 /drivers/media | |
parent | abe81f3b8ed2996e1712d26d38ff6b73f582c616 (diff) |
serial: 8250_lpss: avoid potential kernel crash when remove
This is a follow up to the commit a9b01b5823f7 ("serial: 8250_mid fix calltrace
when hotplug 8250 serial controller") in which the kernel crash was described
for another 8250 based driver. It appears that we have the very same issue in
8250_lpss. Fix it by unregistering serial driver first.
Cc: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions