Skip to content
Commit e61985d0 authored by Junxiao Chang's avatar Junxiao Chang Committed by Andy Shevchenko
Browse files

platform/x86: intel_pmc_ipc: adding error handling



If punit or telemetry device initialization fails, pmc driver should
unregister and return failure.

This change is to fix a kernel panic when removing kernel module
intel_pmc_ipc.

Fixes: 48c19170 ("platform:x86: Add Intel telemetry platform device")
Signed-off-by: default avatarJunxiao Chang <junxiao.chang@intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 9a4b33d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment