summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2019-05-06 14:44:05 +0200
committerMark Brown <broonie@kernel.org>2019-05-06 23:46:45 +0900
commit19e42536b27121bcf6ee841b25054f8bacafd8c7 (patch)
tree9e0a79cf332e60ea81d2f29579f7548edaf81ede /sound
parent863137f0bc5eb2a3a65d1d29778ac65642171b17 (diff)
downloadlwn-19e42536b27121bcf6ee841b25054f8bacafd8c7.tar.gz
lwn-19e42536b27121bcf6ee841b25054f8bacafd8c7.zip
ASoC: stm32: spdifrx: change trace level on iec control
Change trace level to debug to avoid spurious messages. Return quietly when accessing iec958 control, while no S/PDIF signal is available. Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/stm/stm32_spdifrx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index aa83b50efabb..3d64200edbb5 100644
--- a/sound/soc/stm/stm32_spdifrx.c
+++ b/sound/soc/stm/stm32_spdifrx.c
@@ -496,7 +496,7 @@ static int stm32_spdifrx_get_ctrl_data(struct stm32_spdifrx_data *spdifrx)
if (wait_for_completion_interruptible_timeout(&spdifrx->cs_completion,
msecs_to_jiffies(100))
<= 0) {
- dev_err(&spdifrx->pdev->dev, "Failed to get control data\n");
+ dev_dbg(&spdifrx->pdev->dev, "Failed to get control data\n");
ret = -EAGAIN;
}