From: Manny Vindiola Date: Thu, 18 May 2017 13:50:21 +0000 (-0300) Subject: [media] atomisp: fix missing blank line coding style issue in atomisp_tpg.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54221e7248a66e1748f4bc93790042294bb6914b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab --- 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 */