From 8c869f2707ba978497a4d56edfed557f6dbfb06d Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Wed, 5 Oct 2011 10:29:28 +0300 Subject: [PATCH] --- yaml --- r: 270787 b: refs/heads/master c: a0acf47f1b986a89026a26fc0365b4ed2f65cd85 h: refs/heads/master i: 270785: b3353ffbb5cb8075a6fbcd255fd0c8500d26853c 270783: ef23f6535df609734631c6279d02140c87ae9417 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/twl6040.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 244f5f1f464e..746ae9e0cff8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1576a5ff4929a4082307be0c69bb36826aafaad6 +refs/heads/master: a0acf47f1b986a89026a26fc0365b4ed2f65cd85 diff --git a/trunk/sound/soc/codecs/twl6040.c b/trunk/sound/soc/codecs/twl6040.c index 7450e1bb8164..62edded0b549 100644 --- a/trunk/sound/soc/codecs/twl6040.c +++ b/trunk/sound/soc/codecs/twl6040.c @@ -759,6 +759,8 @@ static int twl6040_put_volsw(struct snd_kcontrol *kcontrol, out = &twl6040_priv->handsfree; break; default: + dev_warn(codec->dev, "%s: Unexpected register: 0x%02x\n", + __func__, mc->reg); return -EINVAL; }