- Aug 21, 2015
-
-
Lars-Peter Clausen authored
Convert the ac97_bus from legacy suspend/resume callbacks to dev_pm_ops. Since there isn't anything special to do at the bus level the bus driver does not have to implement any callbacks. The device driver core will automatically pick up and execute the device's PM ops. As there is only a single AC'97 driver implementing suspend and resume, update both the core and driver at the same time to avoid unnecessary code churn. While we are at it also drop the ifdefs around the suspend/resume functions to increase compile test coverage. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Acked-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Jul 23, 2015
-
-
Lars-Peter Clausen authored
There is currently a lot of code duplication in ASoC drivers regarding the reset handling of devices. This patch introduces a new generic reset function in the generic AC'97 framework that can be used to replace most the custom reset functions. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Reviewed-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- Dec 06, 2010
-
-
Jeffrin Jose authored
This is a patch to the sound/ac97_bus.c file that fixes up a 80 character line limit issue found by the checkpatch.pl tool. Signed-off-by:
Jeffrin Jose <ahiliation@yahoo.co.in> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Dec 02, 2008
-
-
Mark Brown authored
This fixes a sparse warning caused by the lack of a connection with the prototype for ac97_bus_type. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Feb 09, 2007
-
-
Martin Langer authored
This patch adds CONFIG_PM to the ac97_bus driver. Signed-off-by:
Martin Langer <martin-langer@gmx.de> Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@suse.cz>
-
- Dec 12, 2006
-
-
Nicolas Pitre authored
Commit 2d4ba4a3 introduced a dependency that was never meant to exist when the ac97_bus.c module was created. Move ac97_bus.c up the directory hierarchy to make sure it is built when selected even if sound is configured out so things work as originally intended. Signed-off-by:
Nicolas Pitre <nico@cam.org> Acked-by:
Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- Jan 03, 2006
-
-
Takashi Iwai authored
Modules: AC97 Codec Remove xxx_t typedefs from the AC97 codec support. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Oct 28, 2005
-
-
Russell King authored
In PM v1, all devices were called at SUSPEND_DISABLE level. Then all devices were called at SUSPEND_SAVE_STATE level, and finally SUSPEND_POWER_DOWN level. However, with PM v2, to maintain compatibility for platform devices, I arranged for the PM v2 suspend/resume callbacks to call the old PM v1 suspend/resume callbacks three times with each level in order so that existing drivers continued to work. Since this is obsolete infrastructure which is no longer necessary, we can remove it. Here's an (untested) patch to do exactly that. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- Oct 07, 2005
-
-
Nicolas Pitre authored
AC97 Codec A single call to the driver suspend/resume method for each device is enough. The level and SUSPEND_*/RESUME_* arguments are deprecated and said to be removed eventually anyway (no other subsystem are using them anymore except platform devices). Signed-off-by:
Nicolas Pitre <nico@cam.org> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Nicolas Pitre authored
AC97 Codec The bus_id is initialized with a generic identifier string which is not really useful for proper driver matching. Let the driver decide what it needs via its probe method instead. Signed-off-by:
Nicolas Pitre <nico@cam.org> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Aug 30, 2005
-
-
Jaroslav Kysela authored
AC97 Codec Signed-off-by:
Jaroslav Kysela <perex@suse.cz>
-
Jaroslav Kysela authored
AC97 Codec Signed-off-by:
Jaroslav Kysela <perex@suse.cz>
-
Liam Girdwood authored
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>
-