projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6680427
)
[media] mxb: simplify a line that was too long
author
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 30 Apr 2012 08:02:11 +0000
(
05:02
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 14 May 2012 17:56:40 +0000
(14:56 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mxb.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/mxb.c
b/drivers/media/video/mxb.c
index
a698c24
..
d267818
100644
(file)
--- a/
drivers/media/video/mxb.c
+++ b/
drivers/media/video/mxb.c
@@
-622,7
+622,7
@@
static int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *a)
}
DEB_EE("VIDIOC_G_AUDIO %d\n", a->index);
-
memcpy(a, &mxb_audios[video_audio_connect[mxb->cur_audinput]], sizeof(struct v4l2_audio))
;
+
*a = mxb_audios[video_audio_connect[mxb->cur_audinput]]
;
return 0;
}