/* * ALSA SoC TLV320AIC23 codec driver SPI interface * * Author: Arun KS, <arunks@mistralsolutions.com> * Copyright: (C) 2008 Mistral Solutions Pvt Ltd., * * Based on sound/soc/codecs/wm8731.c by Richard Purdie * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/module.h> #include <linux/regmap.h> #include <linux/spi/spi.h> #include <sound/soc.h> #include "tlv320aic23.h" static int aic23_spi_probe(struct spi_device *spi) { int ret; struct regmap *regmap; dev_dbg(&spi->dev, "probing tlv320aic23 spi device\n"); spi->mode = SPI_MODE_0; ret = spi_setup(spi); if (ret < 0) return ret; regmap = devm_regmap_init_spi(spi, &tlv320aic23_regmap); return tlv320aic23_probe(&spi->dev, regmap); } static int aic23_spi_remove(struct spi_device *spi) { snd_soc_unregister_codec(&spi->dev); return 0; } static struct spi_driver aic23_spi = { .driver = { .name = "tlv320aic23", }, .probe = aic23_spi_probe, .remove = aic23_spi_remove, }; module_spi_driver(aic23_spi); MODULE_DESCRIPTION("ASoC TLV320AIC23 codec driver SPI"); MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>"); MODULE_LICENSE("GPL"); et-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>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=11e3b725cfc282efe9d4a354153e99d86a16af08'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/include/instructions.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/include/instructions.h'> <input type='hidden' name='id' value='11e3b725cfc282efe9d4a354153e99d86a16af08'/><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=11e3b725cfc282efe9d4a354153e99d86a16af08'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/testing?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>testing</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>selftests</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>powerpc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc/include?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>instructions.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='11e3b725cfc282efe9d4a354153e99d86a16af08'/><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>Ard Biesheuvel <ard.biesheuvel@linaro.org></td><td class='right'>2017-01-17 13:46:29 +0000</td></tr> <tr><th>committer</th><td>Herbert Xu <herbert@gondor.apana.org.au></td><td class='right'>2017-01-23 22:41:33 +0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>11e3b725cfc282efe9d4a354153e99d86a16af08</a> (<a href='/cgit.cgi/linux/net-next.git/patch/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>8b5b9e0e1bcae1ab98ee652ffb7b13b05c209bd6</a> /<a href='/cgit.cgi/linux/net-next.git/tree/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>tools/testing/selftests/powerpc/include/instructions.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc/include/instructions.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>d6040764adcb5cb6de1489422411d701c158bb69</a> (<a href='/cgit.cgi/linux/net-next.git/diff/tools/testing/selftests/powerpc/include/instructions.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08&id2=d6040764adcb5cb6de1489422411d701c158bb69'>diff</a>)</td></tr></table> <div class='commit-subject'>crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes</div><div class='commit-msg'>Update the ARMv8 Crypto Extensions and the plain NEON AES implementations in CBC and CTR modes to return the next IV back to the skcipher API client. This is necessary for chaining to work correctly. Note that for CTR, this is only done if the request is a round multiple of the block size, since otherwise, chaining is impossible anyway. Cc: <stable@vger.kernel.org> # v3.16+ Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> 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=11e3b725cfc282efe9d4a354153e99d86a16af08'>Diffstat</a> (limited to 'tools/testing/selftests/powerpc/include/instructions.h')</div><table summary='diffstat' class='diffstat'>