]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add sanity check in PCM open callback
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jul 2009 21:10:23 +0000 (23:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jul 2009 21:10:23 +0000 (23:10 +0200)
commitda2203c0d9433b61e11730faf9f8ae75a353ec27
tree40966f94ea8ea1bb12373df23644f8ee803820b9
parent5dc54a026e2140fa6874ee391242b6303c3e6638
ALSA: hda - Add sanity check in PCM open callback

Add some sanity checks of struct snd_pcm_hardware fields in the PCM
open callback of hda driver.  This makes a bit easier to debug any PCM
setup errors in the codec side.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c