ASoC: tegra: use DAI's not card's dev for dev_err
authorStephen Warren <swarren@nvidia.com>
Wed, 6 Jun 2012 23:15:05 +0000 (17:15 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jun 2012 23:03:05 +0000 (07:03 +0800)
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 <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found