diff options
author | Petr Cvek <petr.cvek@tul.cz> | 2017-05-01 01:21:10 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-06 07:39:48 -0300 |
commit | a14c5d29b4f762e5f752df14b6569fbf936f4ee0 (patch) | |
tree | 8c6ffa8edf820d232105c5763fa5205b042b9b2c /net/ipv6/ila/ila_common.c | |
parent | 30a42a1c90bec5f8c482fe2d0fc444c9e1b15cd8 (diff) |
[media] pxa_camera: Fix incorrect test in the image size generation
During the transfer from the soc_camera a test in pxa_mbus_image_size()
got removed. Without it any PXA_MBUS_LAYOUT_PACKED format causes either
the return of a wrong value (PXA_MBUS_PACKING_2X8_PADHI doubles
the correct value) or EINVAL (PXA_MBUS_PACKING_NONE and
PXA_MBUS_PACKING_EXTEND16). This was observed in an error from the ffmpeg
(for some of the YUYV subvariants).
This patch re-adds the same test as in soc_camera version.
Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'net/ipv6/ila/ila_common.c')
0 files changed, 0 insertions, 0 deletions