/* * DB1000/DB1500/DB1100 ASoC audio fabric support code. * * (c) 2011 Manuel Lauss <manuel.lauss@googlemail.com> * */ #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/timer.h> #include <linux/interrupt.h> #include <linux/platform_device.h> #include <sound/core.h> #include <sound/pcm.h> #include <sound/soc.h> #include <asm/mach-au1x00/au1000.h> #include <asm/mach-db1x00/bcsr.h> #include "psc.h" static struct snd_soc_dai_link db1000_ac97_dai = { .name = "AC97", .stream_name = "AC97 HiFi", .codec_dai_name = "ac97-hifi", .cpu_dai_name = "alchemy-ac97c", .platform_name = "alchemy-pcm-dma.0", .codec_name = "ac97-codec", }; static struct snd_soc_card db1000_ac97 = { .name = "DB1000_AC97", .owner = THIS_MODULE, .dai_link = &db1000_ac97_dai, .num_links = 1, }; static int db1000_audio_probe(struct platform_device *pdev) { struct snd_soc_card *card = &db1000_ac97; card->dev = &pdev->dev; return devm_snd_soc_register_card(&pdev->dev, card); } static struct platform_driver db1000_audio_driver = { .driver = { .name = "db1000-audio", .pm = &snd_soc_pm_ops, }, .probe = db1000_audio_probe, }; module_platform_driver(db1000_audio_driver); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("DB1000/DB1500/DB1100 ASoC audio"); MODULE_AUTHOR("Manuel Lauss"); >packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/sound/soc/nuc900'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/nuc900'> <input type='hidden' name='id' value='aaaec6fc755447a1d056765b11b24d8ff2b81366'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>nuc900</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='aaaec6fc755447a1d056765b11b24d8ff2b81366'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Thomas Gleixner <tglx@linutronix.de></td><td class='right'>2017-01-31 19:03:21 +0100</td></tr> <tr><th>committer</th><td>Thomas Gleixner <tglx@linutronix.de></td><td class='right'>2017-01-31 20:22:18 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>aaaec6fc755447a1d056765b11b24d8ff2b81366</a> (<a href='/cgit.cgi/linux/net-next.git/patch/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>a7f4167960ee1df86739905b6ccdeb95465bfe5f</a> /<a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>sound/soc/nuc900</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/nuc900?id=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>08d85f3ea99f1eeafc4e8507936190e86a16ee8c</a> (<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/nuc900?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>diff</a>)</td></tr></table> <div class='commit-subject'>x86/irq: Make irq activate operations symmetric</div><div class='commit-msg'>The recent commit which prevents double activation of interrupts unearthed interesting code in x86. The code (ab)uses irq_domain_activate_irq() to reconfigure an already activated interrupt. That trips over the prevention code now. Fix it by deactivating the interrupt before activating the new configuration. Fixes: 08d85f3ea99f1 "irqdomain: Avoid activating interrupts more than once" Reported-and-tested-by: Mike Galbraith <efault@gmx.de> Reported-and-tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701311901580.3457@nanos </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>Diffstat</a> (limited to 'sound/soc/nuc900')</div><table summary='diffstat' class='diffstat'>