ASoC: Log wm_hubs DC servo operation code when reporting a timeout
Subsystems (3)
PATCH 1/1 ASoC: Log wm_hubs DC servo operation code when reporting a timeout
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/wm_hubs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
sound/soc/codecs/wm_hubs.c +2 -1
@@ -82,7 +82,8 @@ static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op) }while (reg & op && count <400 );if (reg & op) -dev_err (codec->dev,"Timed out waiting for DC Servo\n" ); +dev_err (codec->dev,"Timed out waiting for DC Servo %x\n" , + op); }/*
Signature · 1 line
1.7.2.3
Quoted 10 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>--- sound/soc/codecs/wm_hubs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)sound/soc/codecs/wm_hubs.c +0
-0
sound/soc/codecs/wm_hubs.c static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op) · line 89
Quoted 9 lines
sound/soc/codecs/wm_hubs.c +2
-1@@ -82,7 +82,8 @@ static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op) }while (reg & op && count <400 );if (reg & op) -dev_err (codec->dev,"Timed out waiting for DC Servo\n" ); +dev_err (codec->dev,"Timed out waiting for DC Servo %x\n" , + op); }/*
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk