Commit 826c0a0
committed
media: i2c: imx477: Fix lockdep errors
imx477_get_format_code has a lockdep_assert_held test, however
the call paths from enum_mbus_code and enum_frame_size don't
lock the mutex before calling it.
Add in the relevant mutex locking.
Signed-off-by: Dave Stevenson <[email protected]>1 parent 84e0425 commit 826c0a0
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
| 1516 | + | |
1516 | 1517 | | |
1517 | 1518 | | |
| 1519 | + | |
1518 | 1520 | | |
1519 | 1521 | | |
1520 | 1522 | | |
| |||
1530 | 1532 | | |
1531 | 1533 | | |
1532 | 1534 | | |
| 1535 | + | |
1533 | 1536 | | |
1534 | 1537 | | |
1535 | 1538 | | |
| |||
1543 | 1546 | | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | | - | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
1547 | 1554 | | |
1548 | 1555 | | |
1549 | 1556 | | |
| |||
0 commit comments