Skip to content

Commit

Permalink
platform/x86: ISST: Fix wrong unregister type
Browse files Browse the repository at this point in the history
The MMIO driver is not unregistering with the correct type with the ISST
common core during module removal. This should be unregistered with
ISST_IF_DEV_MMIO instead of ISST_IF_DEV_MBOX.

Signed-off-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
  • Loading branch information
spandruvada authored and andy-shev committed Mar 20, 2020

Verified

This commit was signed with the committer’s verified signature. The key has expired.
1 parent edeee34 commit 6cc8f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ static void isst_if_remove(struct pci_dev *pdev)
struct isst_if_device *punit_dev;

punit_dev = pci_get_drvdata(pdev);
isst_if_cdev_unregister(ISST_IF_DEV_MBOX);
isst_if_cdev_unregister(ISST_IF_DEV_MMIO);
mutex_destroy(&punit_dev->mutex);
}

0 comments on commit 6cc8f65

Please sign in to comment.