ALSA: hda - add helper to get channels from cap bits
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Thu, 14 Apr 2016 04:37:29 +0000 (10:07 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 28 Apr 2016 17:45:26 +0000 (18:45 +0100)
commit9fc7c862e78ba8bec142935673227f2463aa05a5
tree37264c5f18f8b76f282af7bfdf6b51c48b93bc03
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ALSA: hda - add helper to get channels from cap bits

This helper is copied from legacy hda driver.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/hda/local.h