From: Daniel Mack Date: Fri, 15 Jan 2010 16:36:48 +0000 (+0100) Subject: ASoC: cs4270: allow passing freq=0 in set_dai_sysclk() X-Git-Tag: v2.6.34-rc1~243^2^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aababdf20bb8892023bb8df136514d7679e4959;p=pandora-kernel.git ASoC: cs4270: allow passing freq=0 in set_dai_sysclk() For setups with variable MCLKs, the current logic of limiting the available sampling rates at startup time is not sufficient. We need to be able to change the setting at a later point, and so the codec must offer all possible rates until the hw_params are given. This patches allows that by passing 0 as 'freq' argument to cs4270_set_dai_sysclk(). Signed-off-by: Daniel Mack Acked-by: Timur Tabi Signed-off-by: Mark Brown --- Reading git-diff-tree failed