summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorManny Vindiola <mannyv@gmail.com>2017-05-18 10:50:21 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 06:57:41 -0300
commit54221e7248a66e1748f4bc93790042294bb6914b (patch)
treeece8330ea499e7b4986c12d2d5e0a562e285fc67 /drivers
parentc32e3d1b490e89c592d0c59f10fd267c4847cbaf (diff)
[media] atomisp: fix missing blank line coding style issue in atomisp_tpg.c
This is a patch to the atomisp_tpg.c file that fixes up a missing blank line warning found by the checkpatch.pl tool Signed-off-by: Manny Vindiola <mannyv@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c
index 996d1bdebad4..48b96048cab4 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c
@@ -56,6 +56,7 @@ static int tpg_set_fmt(struct v4l2_subdev *sd,
struct v4l2_subdev_format *format)
{
struct v4l2_mbus_framefmt *fmt = &format->format;
+
if (format->pad)
return -EINVAL;
/* only raw8 grbg is supported by TPG */