V4L/DVB: gspca - sonixj: Do the audio input work for webcams with a microphone
authorJean-François Moine <moinejf@free.fr>
Wed, 14 Jul 2010 09:33:51 +0000 (06:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:43:06 +0000 (16:43 -0300)
commit19697b546c9bc5b3c44070be1cfc7ce54a97c0d9
treeec683c44cbc2c1b26c53fa44507a251de7b3a8cd
parent35680baa6822df98a6ed602e2380aa0a04e18b07
V4L/DVB: gspca - sonixj: Do the audio input work for webcams with a microphone

The bit 0x04 of the bridge register 02 (GPIO) is used for audio connection
in webcams containing the bridge SN9C105. This patch sets it correctly,
according to the presence of an audio device.

Tested-by: Kyle Baker <kyleabaker@gmail.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c