]> git.baikalelectronics.ru Git - kernel.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)
commita85feb8a4ec3b8dd9dc61a8b7dfe5ff0baf47e59
tree4b391e798b8a22387d86c8f3fde1224cf809807e
parent0950dcab2b093782309cab4929b42f6bf45aca51
[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