diff options
author | Marcel Hasler <mahasler@gmail.com> | 2016-12-16 01:13:34 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-02-03 16:26:32 +0300 |
commit | 1dc7df4d3d787639c9eeb8fc3841dd8d003de82a (patch) | |
tree | e05a0d41e1a6a82ad3d20f38230b466827cf48f5 /drivers/media/usb/stk1160/stk1160.h | |
parent | e36e6b5f26c14fd588d5c7e78527d3707f8ac836 (diff) | |
download | linux-1dc7df4d3d787639c9eeb8fc3841dd8d003de82a.tar.xz |
[media] stk1160: Check whether to use AC97 codec
Some STK1160-based devices use the chip's internal 8-bit ADC. This is
configured through a strap pin. The value of this and other pins can be
read through the POSVA register. If the internal ADC is used, or if
audio is disabled altogether, there's no point trying to setup the AC97
codec.
Signed-off-by: Marcel Hasler <mahasler@gmail.com>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/stk1160/stk1160.h')
0 files changed, 0 insertions, 0 deletions