]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ALSA: cs5535audio: turn off PCM properly if closing the audio device
authorJaya Kumar <jayakumar.lkml@gmail.com>
Wed, 5 Nov 2008 22:30:08 +0000 (17:30 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 16:14:37 +0000 (17:14 +0100)
commitb035ce0f26812292d067fbe2fc9e9d88d5dfcdb4
tree5c2e30e9e73e2542e9c97de2d689af17db358b0f
parent0bed7b292d68f82316bfb8cd521e16c867689efe
ALSA: cs5535audio: turn off PCM properly if closing the audio device

As per <http://dev.laptop.org/ticket/1420>, we need to properly turn off
the PCM if we're closing the device in order to save power.  This also
causes the MIC led to turn off properly.

Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/cs5535audio.c
sound/pci/cs5535audio/cs5535audio.h
sound/pci/cs5535audio/cs5535audio_pcm.c