Re: [PATCHv17 18/34] davinci_vpfe: remove bogus vb2->state check

2018-08-13 Thread Mauro Carvalho Chehab
Em Sat, 4 Aug 2018 14:45:10 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > There is no need to check the vb2 state in the buf_prepare > callback: it can never be wrong. > > Since VB2_BUF_STATE_PREPARED will be removed in the next patch > we'll remove this unnecessary check (and use of

[PATCHv17 18/34] davinci_vpfe: remove bogus vb2->state check

2018-08-04 Thread Hans Verkuil
From: Hans Verkuil There is no need to check the vb2 state in the buf_prepare callback: it can never be wrong. Since VB2_BUF_STATE_PREPARED will be removed in the next patch we'll remove this unnecessary check (and use of that state) first. Signed-off-by: Hans Verkuil --- drivers/staging/medi