]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[media] tm6000: Fix tm6010 audio standard selection
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 15:20:12 +0000 (12:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Nov 2011 23:22:46 +0000 (21:22 -0200)
commit32f6f3ac5468bbbe0263d29daa16f38d04c2274f
tree4407034928a0df429175387a77ad30c00089039a
parent75f064f220bde2fab9e932b27eee8372b65372c9
[media] tm6000: Fix tm6010 audio standard selection

A V4L2 standards mask may contain several standards. A more restricted
mask with just one standard is used when user needs to bind to an specific
standard that can't be auto-detect among a more generic mask.

So, Improve the autodetection logic to detect the correct audio standard
most of the time.

Based on a patch made by Dmitri Belimov <d.belimov@gmail.com>.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tm6000/tm6000-core.c
drivers/media/video/tm6000/tm6000-stds.c