]> git.openfabrics.org - ~shefty/rdma-dev.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)
commitc470331e69bd54d11a9ea3c27a0e4ad783d02d6b
tree40966f94ea8ea1bb12373df23644f8ee803820b9
parent70d321e6380f128096429d6e5b678f94ab0cef5d
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