Re: [PATCH] [media] media: am437x-vpfe: ensure ret is initialized

2016-03-22 Thread Lad, Prabhakar
Hi Colin, On Mon, Mar 21, 2016 at 11:32 PM, Colin King wrote: > From: Colin Ian King > > ret should be initialized to 0; for example if pfe->fmt.fmt.pix.field > is V4L2_FIELD_NONE then ret will contain garbage from the > uninitialized state causing garbage to be returned if it is non-zero. > Tha

[PATCH] [media] media: am437x-vpfe: ensure ret is initialized

2016-03-21 Thread Colin King
From: Colin Ian King ret should be initialized to 0; for example if pfe->fmt.fmt.pix.field is V4L2_FIELD_NONE then ret will contain garbage from the uninitialized state causing garbage to be returned if it is non-zero. Signed-off-by: Colin Ian King --- drivers/media/platform/am437x/am437x-vpfe