]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit31b320739b4318a04c203918310b49a55a598bde
treed54fe254a6d908e9f215052a734ea3e4c1381199
parenta877e2771a7f74b724cc09d96decd2ff3a37f2cd
[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