Commit 84e0425
committed
media: i2c: imx708: Fix lockdep issues.
The driver had a lockdep_assert_held in imx708_get_format_code,
but the calls from enum_mbus_code and enum_frame_size didn't take
the mutex.
Likewise imx708_set_framing_limits calling __v4l2_ctrl_modify_range
had a lockdep, but when going through the probe function the mutex
hadn't been taken.
Fix both cases.
Signed-off-by: Dave Stevenson <[email protected]>1 parent 7ed6e66 commit 84e0425
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
| 1261 | + | |
1261 | 1262 | | |
| 1263 | + | |
1262 | 1264 | | |
1263 | 1265 | | |
1264 | 1266 | | |
| |||
1274 | 1276 | | |
1275 | 1277 | | |
1276 | 1278 | | |
| 1279 | + | |
1277 | 1280 | | |
1278 | 1281 | | |
1279 | 1282 | | |
| |||
1288 | 1291 | | |
1289 | 1292 | | |
1290 | 1293 | | |
1291 | | - | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1292 | 1299 | | |
1293 | 1300 | | |
1294 | 1301 | | |
| |||
1900 | 1907 | | |
1901 | 1908 | | |
1902 | 1909 | | |
| 1910 | + | |
1903 | 1911 | | |
| 1912 | + | |
1904 | 1913 | | |
1905 | 1914 | | |
1906 | 1915 | | |
| |||
0 commit comments