OSDN Git Service

[media] em28xx: fix implementation of s_stream
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 26 Jan 2016 08:59:39 +0000 (06:59 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 26 Jan 2016 09:12:54 +0000 (07:12 -0200)
commit13d52fe40f1f7bbad49128e8ee6a2fe5e13dd18d
treeaf2deac46cb385caa234dadb844237707c6466f6
parentfb16aaf58cbe902585fc3a2ce40d74a2de384ac2
[media] em28xx: fix implementation of s_stream

On em28xx driver, s_stream subdev ops was not implemented
properly. It was used only to disable stream, never enabling it.
That was the root cause of the regression when we added support
for s_stream on tvp5150 driver.

With that, we can get rid of the changes on tvp5150 side,
e. g. changeset 47de9bf8931e ('[media] tvp5150: Fix breakage for serial usage').

Tested video output on em2820+tvp5150 on WinTV USB2 and
video and/or vbi output on em288x+tvp5150 on HVR 950.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/em28xx/em28xx-video.c