From: Lars-Peter Clausen Date: Mon, 6 Jan 2014 13:19:16 +0000 (+0100) Subject: ASoC: Allow PCMs to restrict the supported formats X-Git-Tag: v3.14-rc1~143^2~1^2^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d7ea9167839d0b971ab29030886280595dd5fc;p=pandora-kernel.git ASoC: Allow PCMs to restrict the supported formats Some DMA cores might add additional restrictions on which in memory audio formats can be supported by the compound sound card. If the PCM component specifies a set of formats it supports (by setting the formats field to non 0) take these into account when calculating the format set for the compound sound card. Signed-off-by: Lars-Peter Clausen Tested-by: Shawn Guo Signed-off-by: Mark Brown --- Reading git-diff-tree failed