[media] smiapp: Set left and top to zero for crop bounds selection
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 16 Nov 2014 14:48:31 +0000 (11:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 14:38:41 +0000 (12:38 -0200)
commit21734b06430a935073ba11e3caa231cbf4fccb13
tree060e71a1e918c407a2592e180d56d82a07935907
parent8af0345926c8cdbbf80102aa3eab8a6519c23272
[media] smiapp: Set left and top to zero for crop bounds selection

The fields were previously uninitialised, leaving the returned values to
where the user had set them. This was never the intention.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c