summaryrefslogtreecommitdiff
path: root/drivers/media/usb/stk1160/Makefile
diff options
context:
space:
mode:
authorMarcel Hasler <mahasler@gmail.com>2016-12-15 20:17:26 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 11:25:51 -0200
commite36e6b5f26c14fd588d5c7e78527d3707f8ac836 (patch)
tree9c8422f72379195fe5bc0944f13d4eea02d6ed55 /drivers/media/usb/stk1160/Makefile
parent814e92b8cadf73ee79f689ec48f64408f3904d19 (diff)
[media] stk1160: Remove stk1160-mixer and setup internal AC97 codec automatically
Exposing all the channels of the device's internal AC97 codec to userspace is unnecessary and confusing. Instead the driver should setup the codec with proper values. This patch removes the mixer and sets up the codec using optimal values, i.e. the same values set by the Windows driver. This also makes the device work out-of-the-box, without the need for the user to reconfigure the device every time it's plugged in. 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/Makefile')
-rw-r--r--drivers/media/usb/stk1160/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/usb/stk1160/Makefile b/drivers/media/usb/stk1160/Makefile
index dfe3e90ff392..42d05463b353 100644
--- a/drivers/media/usb/stk1160/Makefile
+++ b/drivers/media/usb/stk1160/Makefile
@@ -1,10 +1,8 @@
-obj-stk1160-ac97-$(CONFIG_VIDEO_STK1160_AC97) := stk1160-ac97.o
-
stk1160-y := stk1160-core.o \
stk1160-v4l.o \
stk1160-video.o \
stk1160-i2c.o \
- $(obj-stk1160-ac97-y)
+ stk1160-ac97.o
obj-$(CONFIG_VIDEO_STK1160) += stk1160.o