OSDN Git Service

media: vidtv: psi: fix missing assignments in while loops
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Sat, 31 Oct 2020 15:05:52 +0000 (16:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 06:40:36 +0000 (07:40 +0100)
commitc2b6ca661ae209ea3eeb71ea38ef3fa7dca9c3c1
tree6cbd36fa388603c71bba7cc50874763e3e4b45e3
parent99b99d135ee3fd3a073556b5b646a69b1793f3a2
media: vidtv: psi: fix missing assignments in while loops

Some variables were only assigned once but were used in while
loops as if they had been updated at every iteration. Fix this.

Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_psi.c