]> git.baikalelectronics.ru Git - kernel.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)
commit18d4b27b99cf8d86da4c6513d8ab8d87737ace43
tree4c755f3a7fa62fc3618c6b9f384dad663698eb2b
parent4514a7dc16c936b4e9ea7567a098b99ee51af11f
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