aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorChengfeng Ye <[email protected]>2023-07-07 08:49:41 +0000
committerWolfram Sang <[email protected]>2023-08-14 16:17:13 +0000
commit4caf4cb1eaed469742ef719f2cc024b1ec3fa9e6 (patch)
treea257bf88ff4a7a7b9e9653a1a7b142e551b66265 /drivers/pci/controller/dwc
parenti2c: Update documentation to use .probe() again (diff)
downloadkernel-4caf4cb1eaed469742ef719f2cc024b1ec3fa9e6.tar.gz
kernel-4caf4cb1eaed469742ef719f2cc024b1ec3fa9e6.zip
i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
iproc_i2c_rd_reg() and iproc_i2c_wr_reg() are called from both interrupt context (e.g. bcm_iproc_i2c_isr) and process context (e.g. bcm_iproc_i2c_suspend). Therefore, interrupts should be disabled to avoid potential deadlock. To prevent this scenario, use spin_lock_irqsave(). Fixes: 9a1038728037 ("i2c: iproc: add NIC I2C support") Signed-off-by: Chengfeng Ye <[email protected]> Acked-by: Ray Jui <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions