Loading
platform/x86: ISST: Reset default callback on unregister
mainline inclusion from mainline-v6.4-rc4 commit fa5e68b1 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8WOEO Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fa5e68b1c10d56befcee2ee0a9e1eed2c830e352 ------------------------------------- When multiple clients are registered and some of those modules are removed, the default IOCTL callback for those clients are still not NULL. Calling them will result in crash. Set the default IOCTL callback pointer to NULL on unregister. Intel-SIG: commit fa5e68b1 platform/x86: ISST: Reset default callback on unregister. Backport Intel speed select ISST driver support on TPMI. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20230612224033.2382527-2-srinivas.pandruvada@linux.intel.com Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>