Commit 143d755
media: vim2m: print device name after registering device
Move the v4l2_info() call displaying the video device name after the
device is actually registered.
This fixes a bug where the driver was always displaying "/dev/video0"
since it was reading from the vfd before it was registered.
Fixes: cf7f347 ("media: vim2m: Register video device after setting up internals")
Cc: [email protected]
Signed-off-by: Matthew Majewski <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>1 parent 20889dd commit 143d755
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | 1317 | | |
1321 | 1318 | | |
1322 | 1319 | | |
| |||
1343 | 1340 | | |
1344 | 1341 | | |
1345 | 1342 | | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
| |||
0 commit comments