[Dell S6100] Properly release memory upon ICH driver deinit (#5561)
During platform deinitialization, dell_ich is not removed properly and when we do initialize s6100 platform, ICH driver sysfs attributes are not attached. Because of this, get_transceiver_change_event returns error and this leads xcvrd to crash.
This commit is contained in:
parent
744612d269
commit
6edb5551cb
@ -926,7 +926,7 @@ static int dell_ich_remove(struct platform_device *pdev)
|
||||
|
||||
// Unmap and release PMC regions
|
||||
if(ich_data->pmc_base) iounmap(ich_data->pmc_base);
|
||||
if(ich_data->pmc_alloc) release_region(pmc_res.start, PMC_REG_LEN);
|
||||
if(ich_data->pmc_alloc) release_mem_region(pmc_res.start, PMC_REG_LEN);
|
||||
|
||||
ret = acpi_remove_sci_handler(dell_ich_sci_handler);
|
||||
if(ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user