media: v4l2-ctrls: alloc memory for p_req
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 May 2018 08:54:38 +0000 (04:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 15:10:43 +0000 (11:10 -0400)
commit178543a3ba96b7857fcb6cef806ed9f98ea0cca1
tree2bff209de387a64cd24ff28dafdf3f8a91a8a094
parent52beeddb68833e02c0923bc46868b347a6ad393c
media: v4l2-ctrls: alloc memory for p_req

To store request data the handler_new_ref() allocates memory
for it if needed.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c