From: Daniel Mack Date: Mon, 10 Dec 2012 09:30:04 +0000 (+0100) Subject: ALSA: ASoC: cs4271: add optional soft reset workaround X-Git-Tag: v3.9-rc1~129^2~24^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd23fb9f6bfd43a6e62b2646d18d5ca3edc3ebe3;p=pandora-kernel.git ALSA: ASoC: cs4271: add optional soft reset workaround The CS4271 requires its LRCLK and MCLK to be stable before its RESET line is de-asserted. That also means that clocks cannot be changed without putting the chip back into hardware reset, which also requires a complete re-initialization of all registers. One (undocumented) workaround is to assert and de-assert the PDN bit in the MODE2 register. This patch adds a new flag to both the DT bindings as well as to the platform data to enable that workaround. Signed-off-by: Daniel Mack Acked-by: Alexander Sverdlin Signed-off-by: Mark Brown --- Reading git-diff-tree failed