aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2025-05-07 12:19:07 +0000
committerWolfram Sang <[email protected]>2025-05-22 09:06:40 +0000
commitec8c1b92eaec3efebff717b5c13da3b5e87f2dcc (patch)
treef7e6d7330342650b14b638fb653617a92141465b /drivers/fpga/tests/fpga-mgr-test.c
parenti2c: remove 'of_node' member from i2c_boardinfo (diff)
downloadkernel-ec8c1b92eaec3efebff717b5c13da3b5e87f2dcc.tar.gz
kernel-ec8c1b92eaec3efebff717b5c13da3b5e87f2dcc.zip
i2c: atr: Fix lockdep for nested ATRs
When we have an ATR, and another ATR as a subdevice of the first ATR, we get lockdep warnings for the i2c_atr.lock and i2c_atr_chan.orig_addrs_lock. This is because lockdep uses a static key for the locks, and doesn't see the locks of the separate ATR instances as separate. Fix this by generating a dynamic lock key per lock instance. Signed-off-by: Tomi Valkeinen <[email protected]> Signed-off-by: Cosmin Tanislav <[email protected]> Reviewed-by: Luca Ceresoli <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions