diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-02 22:57:19 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-02 22:57:19 +0400 |
commit | ea945ab4d27e101105d7b482183d7147d1f354ce (patch) | |
tree | 7fb50dd08c6bd49d31dba2bc91cc85daafebd324 /sound/soc/pxa | |
parent | a3c6dac201005077f78ea5b18c89e6cd568e2d85 (diff) | |
parent | 21d17dd2a377ba894f26989915eb3c6e427a3656 (diff) | |
download | linux-ea945ab4d27e101105d7b482183d7147d1f354ce.tar.xz |
Merge branch 'for-3.1' into for-3.2
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r-- | sound/soc/pxa/zylonite.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c index b6445757fc54..2b8350b52232 100644 --- a/sound/soc/pxa/zylonite.c +++ b/sound/soc/pxa/zylonite.c @@ -196,20 +196,20 @@ static int zylonite_probe(struct snd_soc_card *card) if (clk_pout) { pout = clk_get(NULL, "CLK_POUT"); if (IS_ERR(pout)) { - dev_err(&pdev->dev, "Unable to obtain CLK_POUT: %ld\n", + dev_err(card->dev, "Unable to obtain CLK_POUT: %ld\n", PTR_ERR(pout)); return PTR_ERR(pout); } ret = clk_enable(pout); if (ret != 0) { - dev_err(&pdev->dev, "Unable to enable CLK_POUT: %d\n", + dev_err(card->dev, "Unable to enable CLK_POUT: %d\n", ret); clk_put(pout); return ret; } - dev_dbg(&pdev->dev, "MCLK enabled at %luHz\n", + dev_dbg(card->dev, "MCLK enabled at %luHz\n", clk_get_rate(pout)); } @@ -241,7 +241,7 @@ static int zylonite_resume_pre(struct snd_soc_card *card) if (clk_pout) { ret = clk_enable(pout); if (ret != 0) - dev_err(&pdev->dev, "Unable to enable CLK_POUT: %d\n", + dev_err(card->dev, "Unable to enable CLK_POUT: %d\n", ret); } |