We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1613e60 commit a4edf67Copy full SHA for a4edf67
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
@@ -1610,8 +1610,8 @@ void tpmi_sst_dev_remove(struct auxiliary_device *auxdev)
1610
tpmi_sst->partition_mask_current &= ~BIT(plat_info->partition);
1611
/* Free the package instance when the all partitions are removed */
1612
if (!tpmi_sst->partition_mask_current) {
1613
- kfree(tpmi_sst);
1614
isst_common.sst_inst[tpmi_sst->package_id] = NULL;
+ kfree(tpmi_sst);
1615
}
1616
mutex_unlock(&isst_tpmi_dev_lock);
1617
0 commit comments