/* * Copyright (c) 2010 Nuvoton technology corporation. * * Wan ZongShun <mcuos.com@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation;version 2 of the License. * */ #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 "nuc900-audio.h" static struct snd_soc_dai_link nuc900evb_ac97_dai = { .name = "AC97", .stream_name = "AC97 HiFi", .cpu_dai_name = "nuc900-ac97", .codec_dai_name = "ac97-hifi", .codec_name = "ac97-codec", .platform_name = "nuc900-pcm-audio", }; static struct snd_soc_card nuc900evb_audio_machine = { .name = "NUC900EVB_AC97", .owner = THIS_MODULE, .dai_link = &nuc900evb_ac97_dai, .num_links = 1, }; static struct platform_device *nuc900evb_asoc_dev; static int __init nuc900evb_audio_init(void) { int ret; ret = -ENOMEM; nuc900evb_asoc_dev = platform_device_alloc("soc-audio", -1); if (!nuc900evb_asoc_dev) goto out; /* nuc900 board audio device */ platform_set_drvdata(nuc900evb_asoc_dev, &nuc900evb_audio_machine); ret = platform_device_add(nuc900evb_asoc_dev); if (ret) { platform_device_put(nuc900evb_asoc_dev); nuc900evb_asoc_dev = NULL; } out: return ret; } static void __exit nuc900evb_audio_exit(void) { platform_device_unregister(nuc900evb_asoc_dev); } module_init(nuc900evb_audio_init); module_exit(nuc900evb_audio_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("NUC900 Series ASoC audio support"); MODULE_AUTHOR("Wan ZongShun"); g/sound/usb/6fire?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/usb/6fire?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/usb/6fire?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/usb/6fire?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/usb/6fire'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='a524c218bc94c705886a0e0fedeee45d1931da32'/><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/log/?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/usb?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/usb/6fire?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32'>6fire</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/usb/6fire?h=nds-private-remove&id=a524c218bc94c705886a0e0fedeee45d1931da32&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> ue='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>Salvatore Benedetto <salvatore.benedetto@intel.com></td><td class='right'>2017-01-13 11:54:08 +0000</td></tr> <tr><th>committer</th><td>Herbert Xu <herbert@gondor.apana.org.au></td><td class='right'>2017-01-23 22:41:32 +0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/scripts/python?id=d6040764adcb5cb6de1489422411d701c158bb69'>d6040764adcb5cb6de1489422411d701c158bb69</a> (<a href='/cgit.cgi/linux/net-next.git/patch/tools/perf/scripts/python?id=d6040764adcb5cb6de1489422411d701c158bb69'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=d6040764adcb5cb6de1489422411d701c158bb69'>ec8f34788bcdeaa9dc8f69c58af4c005d1e49021</a> /<a href='/cgit.cgi/linux/net-next.git/tree/tools/perf/scripts/python?id=d6040764adcb5cb6de1489422411d701c158bb69'>tools/perf/scripts/python</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/scripts/python?id=07825f0acd85dd8b7481d5ef0eb024b05364d892'>07825f0acd85dd8b7481d5ef0eb024b05364d892</a> (<a href='/cgit.cgi/linux/net-next.git/diff/tools/perf/scripts/python?id=d6040764adcb5cb6de1489422411d701c158bb69&id2=07825f0acd85dd8b7481d5ef0eb024b05364d892'>diff</a>)</td></tr></table> <div class='commit-subject'>crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg</div><div class='commit-msg'>Make sure CRYPTO_ALG_DEAD bit is cleared before proceeding with the algorithm registration. This fixes qat-dh registration when driver is restarted Cc: <stable@vger.kernel.org> Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=d6040764adcb5cb6de1489422411d701c158bb69'>Diffstat</a> (limited to 'tools/perf/scripts/python')</div><table summary='diffstat' class='diffstat'>