]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab7c49964eb44ccecb026215168f5233fe9bac94
tree0a5cf29998b4d217b4d43c7eaf0bfe4428a140eb
parent5f7d54896154a0e684d8b0465af843fb1b3a3c38
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 <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra20_i2s.c
sound/soc/tegra/tegra20_spdif.c
sound/soc/tegra/tegra30_i2s.c