diff options
| -rw-r--r-- | sound/soc/codecs/twl6040.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 2b6ad09e0886..96cf94a2b7a0 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
| @@ -1123,8 +1123,8 @@ static int twl6040_probe(struct snd_soc_codec *codec) | |||
| 1123 | 1123 | ||
| 1124 | priv->plug_irq = platform_get_irq(pdev, 0); | 1124 | priv->plug_irq = platform_get_irq(pdev, 0); |
| 1125 | if (priv->plug_irq < 0) { | 1125 | if (priv->plug_irq < 0) { |
| 1126 | dev_err(codec->dev, "invalid irq\n"); | 1126 | dev_err(codec->dev, "invalid irq: %d\n", priv->plug_irq); |
| 1127 | return -EINVAL; | 1127 | return priv->plug_irq; |
| 1128 | } | 1128 | } |
| 1129 | 1129 | ||
| 1130 | INIT_DELAYED_WORK(&priv->hs_jack.work, twl6040_accessory_work); | 1130 | INIT_DELAYED_WORK(&priv->hs_jack.work, twl6040_accessory_work); |
