]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb86f16e53986ff87702721925969cd53d2df1358
treeb4f896bcb0e1197a021809355af70a6c1da913fe
parent4108957034faeca50a0ae51449780ca10dfad655
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