diff options
author | Junxiao Chang <junxiao.chang@intel.com> | 2019-04-08 17:40:22 +0800 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-04-08 20:55:08 +0300 |
commit | e61985d0550df8c2078310202aaad9b41049c36c (patch) | |
tree | 319c00561ecc47a405489cca6995a179411d2aa6 /fs/jffs2 | |
parent | 9a4b33d4d22f3ff3fb1a24b8be5edae3be1c795d (diff) | |
download | linux-stable-e61985d0550df8c2078310202aaad9b41049c36c.tar.gz linux-stable-e61985d0550df8c2078310202aaad9b41049c36c.tar.bz2 linux-stable-e61985d0550df8c2078310202aaad9b41049c36c.zip |
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: 48c1917088ba ("platform:x86: Add Intel telemetry platform device")
Signed-off-by: Junxiao Chang <junxiao.chang@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions