mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
0ca06a00e2
AC97 Codec,PCI drivers I've made the review changes and as requested I've pasted the RFC by Nicolas below:- 'I would like to know what people think of the following patch. It allows for a codec on an AC97 bus to be shared with other drivers which are completely unrelated to audio. It registers a new bus type, and whenever a codec instance is created then a device for it is also registered with the driver model using that bus type. This allows, for example, to use the extra features of the UCB1400 like the touchscreen interface and the additional GPIOs and ADCs available on that chip for battery monitoring. I have a working UCB1400 touchscreen driver here that simply registers with the driver model happily working alongside with audio features using this.' Changes over RFC:- o Now matches codec name within codec group. o Added ac97_dev_release() to stop kernel complaining about no release method for device. o Added 'config SND_AC97_BUS' to sound/pci/Kconfig and moved 'config SND_AC97_CODEC' out with the PCI=n statement. o module is now called snd-ac97-bus Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 lines
482 B
Makefile
21 lines
482 B
Makefile
#
|
|
# Makefile for ALSA
|
|
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
|
|
#
|
|
|
|
snd-ac97-codec-objs := ac97_codec.o ac97_pcm.o ac97_patch.o
|
|
|
|
ifneq ($(CONFIG_PROC_FS),)
|
|
snd-ac97-codec-objs += ac97_proc.o
|
|
endif
|
|
|
|
snd-ak4531-codec-objs := ak4531_codec.o
|
|
snd-ac97-bus-objs := ac97_bus.o
|
|
|
|
# Toplevel Module Dependency
|
|
obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o
|
|
obj-$(CONFIG_SND_ENS1370) += snd-ak4531-codec.o
|
|
obj-$(CONFIG_SND_AC97_BUS) += snd-ac97-bus.o
|
|
|
|
obj-m := $(sort $(obj-m))
|