From: Stephen Warren Date: Wed, 6 Jun 2012 23:15:05 +0000 (-0600) Subject: ASoC: tegra: use DAI's not card's dev for dev_err X-Git-Tag: v3.6-rc1~117^2~4^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92a40e3a163b6708e0dd82ba4612f79df846912;p=pandora-kernel.git ASoC: tegra: use DAI's not card's dev for dev_err This is the actual device of the I2S or SPDIF controller reporting the problem. If a future change converts these controllers to be CODECs, then there may be no pcm associated with the substream, so this change avoids a crash. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed