From: Sylwester Nawrocki Date: Wed, 14 Jan 2015 18:42:37 +0000 (+0100) Subject: ASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~22^2~3^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecb400cabb37cfef3221e45e4f6370a855aa7a44;p=pandora-kernel.git ASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally In order to support old DTs we check the codec device node if it contains "clocks" property and only if it doesn't (which indicates an old DT) we proceed with enabling the CDCLK clock by means of the set_sysclk() callback. For new DTs which use the common clock bindings for CDCLK that clock is supposed to be handled outside the sound machine driver. Signed-off-by: Sylwester Nawrocki Signed-off-by: Mark Brown --- Reading git-diff-tree failed