ALSA: hda - Check subdevice mask in snd_hda_check_board_codec_sid_config()
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Nov 2011 18:58:56 +0000 (19:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Nov 2011 06:31:36 +0000 (07:31 +0100)
commite2301a4de22c438f5a962c7cefc3e9cba736991c
treed2bb78107ecf2b8f4bc90516763f2131c982fd8a
parenta370fc62b9ad3f73abe2a721de6c03cdcce95b54
ALSA: hda - Check subdevice mask in snd_hda_check_board_codec_sid_config()

In snd_hda_check_board_codec_sid_config(), not only comparing with the
exact value but allow the bit-mask comparison for vendor-only, etc.

Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Dirk Hohndel <hohndel@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c