/* * Driver for the PCM5102A codec * * Author: Florian Meier <florian.meier@koalo.de> * Copyright 2013 * * 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. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #include <linux/init.h> #include <linux/module.h> #include <linux/platform_device.h> #include <sound/soc.h> static struct snd_soc_dai_driver pcm5102a_dai = { .name = "pcm5102a-hifi", .playback = { .channels_min = 2, .channels_max = 2, .rates = SNDRV_PCM_RATE_8000_192000, .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE }, }; static struct snd_soc_codec_driver soc_codec_dev_pcm5102a; static int pcm5102a_probe(struct platform_device *pdev) { return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_pcm5102a, &pcm5102a_dai, 1); } static int pcm5102a_remove(struct platform_device *pdev) { snd_soc_unregister_codec(&pdev->dev); return 0; } static const struct of_device_id pcm5102a_of_match[] = { { .compatible = "ti,pcm5102a", }, { } }; MODULE_DEVICE_TABLE(of, pcm5102a_of_match); static struct platform_driver pcm5102a_codec_driver = { .probe = pcm5102a_probe, .remove = pcm5102a_remove, .driver = { .name = "pcm5102a-codec", .of_match_table = pcm5102a_of_match, }, }; module_platform_driver(pcm5102a_codec_driver); MODULE_DESCRIPTION("ASoC PCM5102A codec driver"); MODULE_AUTHOR("Florian Meier <florian.meier@koalo.de>"); MODULE_LICENSE("GPL v2"); .git/log/net/mac80211/debugfs.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/mac80211/debugfs.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='0e0694ff1a7791274946b7f51bae692da0001a08'/><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/?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>mac80211</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>debugfs.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='0e0694ff1a7791274946b7f51bae692da0001a08'/><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>Mauro Carvalho Chehab <mchehab@s-opensource.com></td><td class='right'>2016-12-26 14:09:28 -0200</td></tr> <tr><th>committer</th><td>Mauro Carvalho Chehab <mchehab@s-opensource.com></td><td class='right'>2016-12-26 14:09:28 -0200</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>0e0694ff1a7791274946b7f51bae692da0001a08</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/mac80211/debugfs.c?id=0e0694ff1a7791274946b7f51bae692da0001a08'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>53d28f58d793c151aa870f17d38ddec6ac01ec7a</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>net/mac80211/debugfs.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/debugfs.c?h=nds-private-remove&id=65390ea01ce678379da32b01f39fcfac4903f256'>65390ea01ce678379da32b01f39fcfac4903f256</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08&id2=65390ea01ce678379da32b01f39fcfac4903f256'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/debugfs.c?h=nds-private-remove&id=c739c0a7c3c2472d7562b8f802cdce44d2597c8b'>c739c0a7c3c2472d7562b8f802cdce44d2597c8b</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/mac80211/debugfs.c?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08&id2=c739c0a7c3c2472d7562b8f802cdce44d2597c8b'>diff</a>)</td></tr></table> <div class='commit-subject'>Merge branch 'patchwork' into v4l_for_linus</div><div class='commit-msg'>* patchwork: [media] s5k4ecgx: select CRC32 helper [media] dvb: avoid warning in dvb_net [media] v4l: tvp5150: Don't override output pinmuxing at stream on/off time [media] v4l: tvp5150: Fix comment regarding output pin muxing [media] v4l: tvp5150: Reset device at probe time, not in get/set format handlers [media] pctv452e: move buffer to heap, no mutex [media] media/cobalt: use pci_irq_allocate_vectors [media] cec: fix race between configuring and unconfiguring [media] cec: move cec_report_phys_addr into cec_config_thread_func [media] cec: replace cec_report_features by cec_fill_msg_report_features [media] cec: update log_addr[] before finishing configuration [media] cec: CEC_MSG_GIVE_FEATURES should abort for CEC version < 2 [media] cec: when canceling a message, don't overwrite old status info [media] cec: fix report_current_latency [media] smiapp: Make suspend and resume functions __maybe_unused [media] smiapp: Implement power-on and power-off sequences without runtime PM </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=0e0694ff1a7791274946b7f51bae692da0001a08'>Diffstat</a> (limited to 'net/mac80211/debugfs.c')</div><table summary='diffstat' class='diffstat'>