Skip to content
Commit f18c41da authored by Rodolfo Giometti's avatar Rodolfo Giometti Committed by Jean Delvare
Browse files

i2c: Use rwsem instead of mutex for board info



By using rwsem we can easily manage recursive calls of
i2c_scan_static_board_info() function without breaking the locking.

Signed-off-by: default avatarRodolfo Giometti <giometti@linux.it>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 99cd8e25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment