[media] em28xx: Fix height setting on non-progressive captures
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 3 Aug 2012 16:52:32 +0000 (13:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 10:09:06 +0000 (07:09 -0300)
commit0bc9c894641ad7e2ef937a3e087e32652be35f47
treec2fa4b119f3d08051cecc47ed21b162e6197806d
parent229fd7d2f19c650c34034885180f91574e837bbb
[media] em28xx: Fix height setting on non-progressive captures

This was introduced on commit c2a6b54a9:
"em28xx: fix: don't do image interlacing on webcams"

The proposed patch by Ezequiel is wrong. The right fix here is to just
don't bother here if either the image is progressive or not.

Reported-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-core.c