diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-04-30 10:02:11 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 19:56:40 +0200 |
commit | aaab4951a688e4c3f43e0ce09855718e9ad5060d (patch) | |
tree | 044222cbe89eefddd09938e73c8584c4583e8459 /drivers/media/video | |
parent | [media] mxb: fix audio handling (diff) | |
download | linux-aaab4951a688e4c3f43e0ce09855718e9ad5060d.tar.xz linux-aaab4951a688e4c3f43e0ce09855718e9ad5060d.zip |
[media] mxb: simplify a line that was too long
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/mxb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index a698c24bea20..d26781871b1a 100644 --- 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; } |