Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357014
b: refs/heads/master
c: cea4c9e
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Dec 20, 2012
1 parent fbbf9e3 commit 1cd63cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 454547fb8217ac82de82fdffe0c2a41d8cd47bf4
refs/heads/master: cea4c9e46c4f656a81c93f09b5e3bde38bebb160
6 changes: 0 additions & 6 deletions trunk/drivers/media/platform/soc_camera/soc_mediabus.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,6 @@ EXPORT_SYMBOL(soc_mbus_samples_per_pixel);

s32 soc_mbus_bytes_per_line(u32 width, const struct soc_mbus_pixelfmt *mf)
{
if (mf->fourcc == V4L2_PIX_FMT_JPEG)
return 0;

if (mf->layout != SOC_MBUS_LAYOUT_PACKED)
return width * mf->bits_per_sample / 8;

Expand All @@ -403,9 +400,6 @@ EXPORT_SYMBOL(soc_mbus_bytes_per_line);
s32 soc_mbus_image_size(const struct soc_mbus_pixelfmt *mf,
u32 bytes_per_line, u32 height)
{
if (mf->fourcc == V4L2_PIX_FMT_JPEG)
return 0;

if (mf->layout == SOC_MBUS_LAYOUT_PACKED)
return bytes_per_line * height;

Expand Down

0 comments on commit 1cd63cf

Please sign in to comment.