Commit cfb320d
staging: vchiq_arm: Stop kthreads if vchiq cdev register fails
In case the vchiq character device cannot be registered during probe,
all kthreads needs to be stopped to avoid resource leaks.
Fixes: 863a756 ("staging: vc04_services: vchiq_core: Stop kthreads on vchiq module unload")
Signed-off-by: Stefan Wahren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 3db89bc commit cfb320d
File tree
1 file changed
+16
-9
lines changed- drivers/staging/vc04_services/interface/vchiq_arm
1 file changed
+16
-9
lines changedLines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
311 | 325 | | |
312 | 326 | | |
313 | 327 | | |
| |||
1396 | 1410 | | |
1397 | 1411 | | |
1398 | 1412 | | |
| 1413 | + | |
1399 | 1414 | | |
1400 | 1415 | | |
1401 | 1416 | | |
| |||
1410 | 1425 | | |
1411 | 1426 | | |
1412 | 1427 | | |
1413 | | - | |
1414 | 1428 | | |
1415 | 1429 | | |
1416 | 1430 | | |
1417 | 1431 | | |
1418 | 1432 | | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
| 1433 | + | |
1427 | 1434 | | |
1428 | 1435 | | |
1429 | 1436 | | |
| |||
0 commit comments