Commit c6b69c6
[media] stk1160: Fix s_fmt and try_fmt implementation
The driver was expecting to get a valid pixelformat on s_fmt and try_fmt.
This is wrong, since the user may pass a bitmask and expect the driver
to change it, returning a valid (fourcc) pixelformat.
This problem was spotted by v4l2-compliance.
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>1 parent 0657418 commit c6b69c6
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | 321 | | |
328 | 322 | | |
329 | 323 | | |
330 | 324 | | |
331 | 325 | | |
332 | 326 | | |
333 | 327 | | |
| 328 | + | |
334 | 329 | | |
335 | 330 | | |
336 | 331 | | |
| |||
346 | 341 | | |
347 | 342 | | |
348 | 343 | | |
349 | | - | |
350 | 344 | | |
351 | 345 | | |
352 | 346 | | |
353 | 347 | | |
354 | | - | |
355 | | - | |
356 | | - | |
| 348 | + | |
357 | 349 | | |
358 | 350 | | |
359 | 351 | | |
| |||
0 commit comments