Re: [PATCH] Fix tm6010 audio

2011-11-24 Thread Dmitri Belimov
Hi > Em 07-11-2011 22:45, Dmitri Belimov escreveu: > > Hi > > > > I found why audio dosn't work for me and fix it. > > > > 2Stefan: > > The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal > > switch-case statement not worked > > > > you can use > > if (dev->norm & V4L2_STD_DK) { > > } > > >

Re: [PATCH] Fix tm6010 audio

2011-11-24 Thread Mauro Carvalho Chehab
Em 07-11-2011 22:45, Dmitri Belimov escreveu: > Hi > > I found why audio dosn't work for me and fix it. > > 2Stefan: > The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal > switch-case statement not worked > > you can use > if (dev->norm & V4L2_STD_DK) { > } > > This patch fix this problem.

Re: [PATCH] Fix tm6010 audio

2011-11-08 Thread Mauro Carvalho Chehab
Em 07-11-2011 22:45, Dmitri Belimov escreveu: > Hi > ... > > I can watch TV but radio not work. After start Gnomeradio I see > VIDIOCGAUDIO incorrect > VIDIOCSAUDIO incorrect > VIDIOCSFREQ incorrect > > Try found what happens with radio. Those ioctl's are gone since kernel 2.6.39, as they are

[PATCH] Fix tm6010 audio

2011-11-07 Thread Dmitri Belimov
Hi I found why audio dosn't work for me and fix it. 2Stefan: The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal switch-case statement not worked you can use if (dev->norm & V4L2_STD_DK) { } This patch fix this problem. Other, please don't remove any workarounds without important reason. Fo