/* * es8328.c -- ES8328 ALSA SoC SPI Audio driver * * Copyright 2014 Sutajio Ko-Usagi PTE LTD * * Author: Sean Cross <xobs@kosagi.com> * * 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 "es8328.h" static const struct of_device_id es8328_of_match[] = { { .compatible = "everest,es8328", }, { } }; MODULE_DEVICE_TABLE(of, es8328_of_match); static int es8328_spi_probe(struct spi_device *spi) { return es8328_probe(&spi->dev, devm_regmap_init_spi(spi, &es8328_regmap_config)); } static int es8328_spi_remove(struct spi_device *spi) { snd_soc_unregister_codec(&spi->dev); return 0; } static struct spi_driver es8328_spi_driver = { .driver = { .name = "es8328", .of_match_table = es8328_of_match, }, .probe = es8328_spi_probe, .remove = es8328_spi_remove, }; module_spi_driver(es8328_spi_driver); MODULE_DESCRIPTION("ASoC ES8328 audio CODEC SPI driver"); MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>"); MODULE_LICENSE("GPL"); > <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=cda8bba0f99d25d2061c531113c14fa41effc3ae'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/pci/ctxfi/ctdaio.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/pci/ctxfi/ctdaio.c?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/pci/ctxfi/ctdaio.c?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/pci/ctxfi/ctdaio.c?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/pci/ctxfi/ctdaio.c'> <input type='hidden' name='id' value='cda8bba0f99d25d2061c531113c14fa41effc3ae'/><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/?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>pci</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/ctxfi?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>ctxfi</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/ctxfi/ctdaio.c?id=cda8bba0f99d25d2061c531113c14fa41effc3ae'>ctdaio.c</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/pci/ctxfi/ctdaio.c?id=cda8bba0f99d25d2061c531113c14fa41effc3ae&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>