aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx18
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-04 06:47:28 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-04 13:12:01 -0500
commit4a3fad709bbc74c85fffff8903d17b5e35723365 (patch)
treeef1049fa2d66756b7920d0cb6059083745997e57 /drivers/media/pci/cx18
parent589266bdbf90527436fed95505522fd30d9a6d98 (diff)
media: fix usage of whitespaces and on indentation
On several places, whitespaces are being used for indentation, or even at the end of the line. Fix them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/cx18')
-rw-r--r--drivers/media/pci/cx18/cx18-fileops.c2
-rw-r--r--drivers/media/pci/cx18/cx18-streams.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/cx18/cx18-fileops.c b/drivers/media/pci/cx18/cx18-fileops.c
index 4f9c2395941b..2dfe91f2bd97 100644
--- a/drivers/media/pci/cx18/cx18-fileops.c
+++ b/drivers/media/pci/cx18/cx18-fileops.c
@@ -633,7 +633,7 @@ unsigned int cx18_v4l2_enc_poll(struct file *filp, poll_table *wait)
633 633
634 if (v4l2_event_pending(&id->fh)) 634 if (v4l2_event_pending(&id->fh))
635 res |= POLLPRI; 635 res |= POLLPRI;
636 if (eof && videobuf_poll == POLLERR) 636 if (eof && videobuf_poll == POLLERR)
637 return res | POLLHUP; 637 return res | POLLHUP;
638 return res | videobuf_poll; 638 return res | videobuf_poll;
639 } 639 }
diff --git a/drivers/media/pci/cx18/cx18-streams.c b/drivers/media/pci/cx18/cx18-streams.c
index f35f78d66985..b9c6831c21c3 100644
--- a/drivers/media/pci/cx18/cx18-streams.c
+++ b/drivers/media/pci/cx18/cx18-streams.c
@@ -116,7 +116,7 @@ static int cx18_prepare_buffer(struct videobuf_queue *q,
116 unsigned int width, unsigned int height, 116 unsigned int width, unsigned int height,
117 enum v4l2_field field) 117 enum v4l2_field field)
118{ 118{
119 struct cx18 *cx = s->cx; 119 struct cx18 *cx = s->cx;
120 int rc = 0; 120 int rc = 0;
121 121
122 /* check settings */ 122 /* check settings */