]> git.karo-electronics.de Git - linux-beck.git/commit
[media] em28xx: remove function em28xx_compression_disable() and its call
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Mon, 24 Mar 2014 19:28:36 +0000 (16:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 15:11:06 +0000 (12:11 -0300)
commitcba8e9b32d0dbe206c4ba60581f7e9a0981214b2
tree4b391e798b8a22387d86c8f3fde1224cf809807e
parent88d285965c97f2e6fc878cb2aeff6511b22353e5
[media] em28xx: remove function em28xx_compression_disable() and its call

em28xx_compression_disable() is a single line function which is called only one
time and this call also isn't needed.
Register 0x26 is always configured as part of the scaler configuration, which
in turn is always done when the resolution changes. And the initial resolution
setting is applied at first device open.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c
drivers/media/usb/em28xx/em28xx.h