Skip to content

Commit a8062e4

Browse files
committed
Merge branch 'fix/asoc' of git://github.com/tiwai/sound
* 'fix/asoc' of git://github.com/tiwai/sound: ASoC: omap_mcpdm_remove cannot be __devexit ASoC: Fix setting update bits for WM8753_LADC and WM8753_RADC ASoC: use a valid device for dev_err() in Zylonite
2 parents 1fd2a85 + b5c49d4 commit a8062e4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

sound/soc/codecs/wm8753.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,8 +1454,8 @@ static int wm8753_probe(struct snd_soc_codec *codec)
14541454
/* set the update bits */
14551455
snd_soc_update_bits(codec, WM8753_LDAC, 0x0100, 0x0100);
14561456
snd_soc_update_bits(codec, WM8753_RDAC, 0x0100, 0x0100);
1457-
snd_soc_update_bits(codec, WM8753_LDAC, 0x0100, 0x0100);
1458-
snd_soc_update_bits(codec, WM8753_RDAC, 0x0100, 0x0100);
1457+
snd_soc_update_bits(codec, WM8753_LADC, 0x0100, 0x0100);
1458+
snd_soc_update_bits(codec, WM8753_RADC, 0x0100, 0x0100);
14591459
snd_soc_update_bits(codec, WM8753_LOUT1V, 0x0100, 0x0100);
14601460
snd_soc_update_bits(codec, WM8753_ROUT1V, 0x0100, 0x0100);
14611461
snd_soc_update_bits(codec, WM8753_LOUT2V, 0x0100, 0x0100);

sound/soc/omap/mcpdm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ int __devinit omap_mcpdm_probe(struct platform_device *pdev)
449449
return ret;
450450
}
451451

452-
int __devexit omap_mcpdm_remove(struct platform_device *pdev)
452+
int omap_mcpdm_remove(struct platform_device *pdev)
453453
{
454454
struct omap_mcpdm *mcpdm_ptr = platform_get_drvdata(pdev);
455455

sound/soc/omap/mcpdm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ extern int omap_mcpdm_request(void);
150150
extern void omap_mcpdm_free(void);
151151
extern int omap_mcpdm_set_offset(int offset1, int offset2);
152152
int __devinit omap_mcpdm_probe(struct platform_device *pdev);
153-
int __devexit omap_mcpdm_remove(struct platform_device *pdev);
153+
int omap_mcpdm_remove(struct platform_device *pdev);

sound/soc/pxa/zylonite.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,20 +196,20 @@ static int zylonite_probe(struct snd_soc_card *card)
196196
if (clk_pout) {
197197
pout = clk_get(NULL, "CLK_POUT");
198198
if (IS_ERR(pout)) {
199-
dev_err(&pdev->dev, "Unable to obtain CLK_POUT: %ld\n",
199+
dev_err(card->dev, "Unable to obtain CLK_POUT: %ld\n",
200200
PTR_ERR(pout));
201201
return PTR_ERR(pout);
202202
}
203203

204204
ret = clk_enable(pout);
205205
if (ret != 0) {
206-
dev_err(&pdev->dev, "Unable to enable CLK_POUT: %d\n",
206+
dev_err(card->dev, "Unable to enable CLK_POUT: %d\n",
207207
ret);
208208
clk_put(pout);
209209
return ret;
210210
}
211211

212-
dev_dbg(&pdev->dev, "MCLK enabled at %luHz\n",
212+
dev_dbg(card->dev, "MCLK enabled at %luHz\n",
213213
clk_get_rate(pout));
214214
}
215215

@@ -241,7 +241,7 @@ static int zylonite_resume_pre(struct snd_soc_card *card)
241241
if (clk_pout) {
242242
ret = clk_enable(pout);
243243
if (ret != 0)
244-
dev_err(&pdev->dev, "Unable to enable CLK_POUT: %d\n",
244+
dev_err(card->dev, "Unable to enable CLK_POUT: %d\n",
245245
ret);
246246
}
247247

0 commit comments

Comments
 (0)