]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx25821: the audio channel was registered as a video node
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 14 Apr 2013 14:07:02 +0000 (11:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 15 Apr 2013 11:35:21 +0000 (08:35 -0300)
commita379a56667df6a780b0e906aa59c464c4347e75e
treed54fe254a6d908e9f215052a734ea3e4c1381199
parente1de5cee9d590523ed3f19c0b57f37e54376874e
[media] cx25821: the audio channel was registered as a video node

Skip the audio channel when registering the video nodes. This fixes a bug
where that incorrectly registered 'video' node was never unregistered.
Note: this bug only surfaces if the video output nodes are enabled again
after the previous patch disabled them.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx25821/cx25821-core.c
drivers/media/pci/cx25821/cx25821-video.c