From: Lars-Peter Clausen Date: Wed, 5 Mar 2014 12:17:45 +0000 (+0100) Subject: ASoC: Add helper function to check whether a CODEC is active X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~12^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c898e74d135a23ce12e0263c1a3c78eeae1b52b;p=pandora-kernel.git ASoC: Add helper function to check whether a CODEC is active Instead of directly checking the 'active' field of the CODEC struct add a new helper function that will return either true or false depending on whether the CODEC is active. This will make the migration to the component level easier. The patch also updates all CODEC drivers that check the active attribute to use the new helper function. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed