i2c: hisi: Only handle the interrupt of the driver's transfer
mainline inclusion from mainline-v6.5-rc7 commit fff67c1b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8QL7I CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fff67c1b17ee ---------------------------------------------------------------------- The controller may be shared with other port, for example the firmware. Handle the interrupt from other sources will cause crash since some data are not initialized. So only handle the interrupt of the driver's transfer and discard others. Fixes: d62fbdb9 ("i2c: add support for HiSilicon I2C controller") Signed-off-by:Yicong Yang <yangyicong@hisilicon.com> Reviewed-by:
Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20230801124625.63587-1-yangyicong@huawei.com Signed-off-by:
Wolfram Sang <wsa@kernel.org> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com> Signed-off-by:
YunYi Yang <yangyunyi2@huawei.com>
Loading
Please sign in to comment