summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2014-06-12 15:48:29 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:59:51 +0900
commit586c202c477645e2167f36dfecf6741764e09c52 (patch)
tree4be71997c4b17d18752017ff904f269ee46bbe2d /sound
parentbdd68b93243b8dc89d4c8f94dd53581588977971 (diff)
downloadlinux-3.10-586c202c477645e2167f36dfecf6741764e09c52.tar.gz
linux-3.10-586c202c477645e2167f36dfecf6741764e09c52.tar.bz2
linux-3.10-586c202c477645e2167f36dfecf6741764e09c52.zip
ASoC: odroidx2_max98090: Make debug logs dev_dbg()
It's just a debug information so make it dev_dbg(). While at it use snd_pcm_stream_str() rather than open coding it. Change-Id: Ib3c9820660bc69fb0c98a12762c6c009a55a6020 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/samsung/odroidx2_max98090.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c
index d8f4fe79ee6..4ac69024619 100644
--- a/sound/soc/samsung/odroidx2_max98090.c
+++ b/sound/soc/samsung/odroidx2_max98090.c
@@ -38,12 +38,9 @@ static int odroidx2_hw_params(struct snd_pcm_substream *substream,
if (ret < 0)
return ret;
- dev_info(codec_dai->dev,
- "HiFi DAI %s params ch %d, rate %d as i2s slave\n",
- ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ?
- "playback" : "capture"),
- params_channels(params),
- params_rate(params));
+ dev_dbg(codec_dai->dev, "HiFi DAI %s params: channels: %d, rate: %d\n",
+ snd_pcm_stream_str(substream), params_channels(params),
+ params_rate(params));
return 0;
}