commit | f18c41daea14baee11252da268cdf5dcd57c7c10 | [log] [tgz] |
---|---|---|
author | Rodolfo Giometti <giometti@linux.it> | Fri Jun 19 16:58:20 2009 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Fri Jun 19 16:58:20 2009 +0200 |
tree | ec42ed7000fa64925db3cd596737bd54d9fa71ca | |
parent | 99cd8e25875a109455b709b5a41d4891b8d8e58e [diff] |
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: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Jean Delvare <khali@linux-fr.org>