Re: [PATCHv18 18/35] videobuf2-v4l2: replace if by switch in __fill_vb2_buffer()

2018-08-15 Thread Mauro Carvalho Chehab
Em Tue, 14 Aug 2018 16:20:30 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > Replace 'if' statements by a switch in __fill_vb2_buffer() > in preparation of the next patch. > > No other changes. > > Signed-off-by: Hans Verkuil Reviewed-by: Mauro Carvalho Chehab > --- >

[PATCHv18 18/35] videobuf2-v4l2: replace if by switch in __fill_vb2_buffer()

2018-08-14 Thread Hans Verkuil
From: Hans Verkuil Replace 'if' statements by a switch in __fill_vb2_buffer() in preparation of the next patch. No other changes. Signed-off-by: Hans Verkuil --- .../media/common/videobuf2/videobuf2-v4l2.c | 21 --- 1 file changed, 14 insertions(+), 7 deletions(-) diff