From: Peter Ujfalusi Date: Wed, 22 Aug 2012 10:11:40 +0000 (+0300) Subject: ASoC: omap-mcbsp: Check mcbsp->id instead of cpu_dai->id when adding ST controls X-Git-Tag: v3.7-rc1~81^2~14^2~116^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28739dfcffaad629b28cbab947193b259f745ea9;p=pandora-kernel.git ASoC: omap-mcbsp: Check mcbsp->id instead of cpu_dai->id when adding ST controls In ddevice tree booted kernel all device have unique name and their device id is set to 0. Use the mcbsp->id for checking to decide which control set we should add for McBSP sidetone handling. Signed-off-by: Peter Ujfalusi Acked-by: Jarkko Nikula Signed-off-by: Mark Brown --- Reading git-diff-tree failed