i2c: hisi: Only handle the interrupt of the driver's transfer
driver inclusion category: bugfix busgzilla: https://gitee.com/openeuler/kernel/issues/I7C6O5 CVE: NA -------------------------------------------------------------------------- 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: NYicong Yang <yangyicong@hisilicon.com>
Showing
想要评论请 注册 或 登录