ALSA: HDA: set max_channel only based on LPCM capability
authorSumit Bhattacharya <sumitb@nvidia.com>
Thu, 5 Apr 2012 12:31:40 +0000 (17:31 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 26 Apr 2012 22:10:42 +0000 (15:10 -0700)
commitf749865c7e322bb0d6830cae32e36334983f30a0
tree93c4b6189d0bfae7183b1fee717818d2cebb8d14
parent3620cab8c2db4ae71543b5f4292de1d0e522a138
ALSA: HDA: set max_channel only based on LPCM capability

Set maximum supported channels of HDA driver based on the LPCM channel
capability of the HDMI device. This is needed because user space
decides number of PCM channels to be sent to kernel based on this
information.

Bug 960940

Change-Id: I59ae3b7d47dcf26f697bfb0877ca24556f0ab1fa
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/94831
Reviewed-on: http://git-master/r/98783
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
sound/pci/hda/hda_eld.c