forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/tiwai/sound-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: ALSA: hda - Fix unused warnings when !SND_HDA_NEEDS_RESUME ALSA: hda - Add a fix-up for Acer dmic with ALC271x codec ASoC: add a module alias to the FSI driver ALSA: emu10k1 - Fix "Music" controls to "Synth" controls in documents ARM: s3c2440: gta02; Register dfbmcs320 device for BT audio interface ASoC: codecs: JZ4740: Fix OOPS ASoC: Fix output PGA enabling in wm_hubs CODECs ASoC: sn95031: decorate function with __devexit_p() ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver ASoC: sst_platform: Fix lock acquring ASoC: fsi: driver safely remove for against irq ASoC: fsi: modify vague PM control on probe ASoC: fsi: take care in failing case of dai register MAINTAINERS: Update Samsung ASoC maintainer's id ASoC: WM8903: HP and Line out PGA/mixer DAPM fixes ASoC: Set left channel volume update bits for WM8994 ASoC: fix config error path ASoC: check channel mismatch between cpu_dai and codec_dai ASoC: Tegra: Suspend/resume support
- Loading branch information
Showing
15 changed files
with
110 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5396,7 +5396,7 @@ F: drivers/media/video/*7146* | |
F: include/media/*7146* | ||
|
||
SAMSUNG AUDIO (ASoC) DRIVERS | ||
M: Jassi Brar <jassi.brar@samsung.com> | ||
M: Jassi Brar <jassisinghbrar@gmail.com> | ||
L: [email protected] (moderated for non-subscribers) | ||
S: Supported | ||
F: sound/soc/samsung | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1200,10 +1200,11 @@ static int fsi_probe(struct platform_device *pdev) | |
master->fsib.master = master; | ||
|
||
pm_runtime_enable(&pdev->dev); | ||
pm_runtime_resume(&pdev->dev); | ||
dev_set_drvdata(&pdev->dev, master); | ||
|
||
pm_runtime_get_sync(&pdev->dev); | ||
fsi_soft_all_reset(master); | ||
pm_runtime_put_sync(&pdev->dev); | ||
|
||
ret = request_irq(irq, &fsi_interrupt, IRQF_DISABLED, | ||
id_entry->name, master); | ||
|
@@ -1218,8 +1219,17 @@ static int fsi_probe(struct platform_device *pdev) | |
goto exit_free_irq; | ||
} | ||
|
||
return snd_soc_register_dais(&pdev->dev, fsi_soc_dai, ARRAY_SIZE(fsi_soc_dai)); | ||
ret = snd_soc_register_dais(&pdev->dev, fsi_soc_dai, | ||
ARRAY_SIZE(fsi_soc_dai)); | ||
if (ret < 0) { | ||
dev_err(&pdev->dev, "cannot snd dai register\n"); | ||
goto exit_snd_soc; | ||
} | ||
|
||
return ret; | ||
|
||
exit_snd_soc: | ||
snd_soc_unregister_platform(&pdev->dev); | ||
exit_free_irq: | ||
free_irq(irq, master); | ||
exit_iounmap: | ||
|
@@ -1238,12 +1248,11 @@ static int fsi_remove(struct platform_device *pdev) | |
|
||
master = dev_get_drvdata(&pdev->dev); | ||
|
||
snd_soc_unregister_dais(&pdev->dev, ARRAY_SIZE(fsi_soc_dai)); | ||
snd_soc_unregister_platform(&pdev->dev); | ||
|
||
free_irq(master->irq, master); | ||
pm_runtime_disable(&pdev->dev); | ||
|
||
free_irq(master->irq, master); | ||
snd_soc_unregister_dais(&pdev->dev, ARRAY_SIZE(fsi_soc_dai)); | ||
snd_soc_unregister_platform(&pdev->dev); | ||
|
||
iounmap(master->base); | ||
kfree(master); | ||
|
@@ -1321,3 +1330,4 @@ module_exit(fsi_mobile_exit); | |
MODULE_LICENSE("GPL"); | ||
MODULE_DESCRIPTION("SuperH onchip FSI audio driver"); | ||
MODULE_AUTHOR("Kuninori Morimoto <[email protected]>"); | ||
MODULE_ALIAS("platform:fsi-pcm-audio"); |
Oops, something went wrong.