From: Dimitris Papastamos Date: Thu, 2 Dec 2010 14:53:01 +0000 (+0000) Subject: ASoC: Add compress_type as a member to snd_soc_codec X-Git-Tag: v2.6.38-rc1~236^2^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23bbce34f47762ce944ea9b8b3b3e05e220c6a2e;p=pandora-kernel.git ASoC: Add compress_type as a member to snd_soc_codec We need to keep a copy of the compress_type supplied by the codec driver so that we can override it if necessary with whatever the machine driver has provided us with. The reason for not modifying the codec->driver struct directly is that ideally we'd like to keep it const. Adjust the code in soc-cache and soc-core to make use of the compress_type member in the snd_soc_codec struct. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed