Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed7c221c authored by Curtis McEnroe's avatar Curtis McEnroe Committed by Greg Kroah-Hartman
Browse files

staging: tm6000: cleaned up code in tm6000-video.c according to coding style



Fixed all errors reported by the checker in tm6000-video.c mostly relating
to whitespace.

Signed-off-by: default avatarCurtis McEnroe <programble@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2d32f746
Loading
Loading
Loading
Loading
+20 −19
Original line number Diff line number Diff line
@@ -777,7 +777,8 @@ buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb,
	}

	if (VIDEOBUF_NEEDS_INIT == buf->vb.state) {
		if (0 != (rc = videobuf_iolock(vq, &buf->vb, NULL)))
		rc = videobuf_iolock(vq, &buf->vb, NULL);
		if (rc != 0)
			goto fail;
		urb_init = 1;
	}
@@ -1048,7 +1049,7 @@ static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)

	if (!res_get(dev, fh, false))
		return -EBUSY;
	return (videobuf_streamon(&fh->vb_vidq));
	return videobuf_streamon(&fh->vb_vidq);
}

static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
@@ -1064,7 +1065,7 @@ static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
	videobuf_streamoff(&fh->vb_vidq);
	res_free(dev, fh);

	return (0);
	return 0;
}

static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *norm)