]> git.karo-electronics.de Git - linux-beck.git/commit
[media] DaVinci-VPFE-Capture: Replace a memcpy() call by an assignment in vpfe_enum_i...
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 6 Nov 2016 20:54:38 +0000 (18:54 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 17:25:06 +0000 (15:25 -0200)
commite91b6006bfa65600a14e79b7d8371ec711a7c84f
tree53b8243a45587d1dab70c4d0b13d8f18c3c42d81
parent2eaa68f33b86bf9a6c6cbfaf773d74f1f8bddd4e
[media] DaVinci-VPFE-Capture: Replace a memcpy() call by an assignment in vpfe_enum_input()

Use a direct assignment for an array element which can be set over the
pointer variable "inp" instead of calling the function "memcpy" here.

Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c