ALSA: hda - Fix the previous sanity check in make_codec_cmd()
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Jul 2009 10:47:34 +0000 (12:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jul 2009 10:47:34 +0000 (12:47 +0200)
commit82e1b804b03defe46fb69ffd2c8b19e6649bcb0d
treeb4f896bcb0e1197a021809355af70a6c1da913fe
parent6430aeeb30b478d4ef25f988b1fde6f6ae83adb5
ALSA: hda - Fix the previous sanity check in make_codec_cmd()

The newly added sanity-check for a codec verb can be better written
with logical ORs.  Also, the parameter can be more than 8bit.

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