]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: Handle NULL jacks in snd_jack_report()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Oct 2008 16:07:47 +0000 (17:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Oct 2008 06:40:03 +0000 (08:40 +0200)
commit9a3f371e9962749e5bdcf45a3bebdba555651a2b
tree4c755f3a7fa62fc3618c6b9f384dad663698eb2b
parent428ffb7151a4078994b5c01ecbf845954843c1ec
ALSA: Handle NULL jacks in snd_jack_report()

Facilitate drivers that wish to carry on if they can't create a jack
input device by handling attempts to report the state of a NULL jack,
removing the need to check for initialisation before use.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/jack.c