From: Daniel Mack Date: Wed, 15 Apr 2009 18:24:45 +0000 (+0200) Subject: ASoC: pxa-ssp: allow setting of dai format 0 X-Git-Tag: v2.6.30-rc3~46^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5735b7ede1d1ca81ebf491d699530715b105560;p=pandora-kernel.git ASoC: pxa-ssp: allow setting of dai format 0 pxa_ssp_set_dai_fmt() currently has an early exit if the desired format equals the current configuration. This is correct behaviour unless this function is called with a zero value parameter for the first time. Zero is a valid value for this function, but the early exit is bogus in this case. Hence, set priv->dai_fmt to -1 in the beginning so we can configure the port. Signed-off-by: Daniel Mack Cc: pHilipp Zabel Signed-off-by: Mark Brown --- Reading git-diff-tree failed