/* * linux/sound/rt5670.h -- Platform data for RT5670 * * Copyright 2014 Realtek Microelectronics * * 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. */ #ifndef __LINUX_SND_RT5670_H #define __LINUX_SND_RT5670_H struct rt5670_platform_data { int jd_mode; bool in2_diff; bool dev_gpio; bool dmic_en; unsigned int dmic1_data_pin; /* 0 = GPIO6; 1 = IN2P; 3 = GPIO7*/ unsigned int dmic2_data_pin; /* 0 = GPIO8; 1 = IN3N; */ unsigned int dmic3_data_pin; /* 0 = GPIO9; 1 = GPIO10; 2 = GPIO5*/ }; #endif y'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='3277953de2f31dd03c6375e9a9f680ac37fc9d27'/><select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-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=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/pinctrl/omap.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/pinctrl/omap.h'> <input type='hidden' name='id' value='3277953de2f31dd03c6375e9a9f680ac37fc9d27'/><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=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>dt-bindings</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/pinctrl?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>pinctrl</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>omap.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='3277953de2f31dd03c6375e9a9f680ac37fc9d27'/><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>zhong jiang <zhongjiang@huawei.com></td><td class='right'>2017-01-24 15:18:52 -0800</td></tr> <tr><th>committer</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-01-24 16:26:14 -0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>3277953de2f31dd03c6375e9a9f680ac37fc9d27</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>6ba22924faa1b82ef2f0277db10a3f5abdc44157</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>include/dt-bindings/pinctrl/omap.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/pinctrl/omap.h?id=3705ccfdd1e8b539225ce20e3925a945cc788d67'>3705ccfdd1e8b539225ce20e3925a945cc788d67</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/pinctrl/omap.h?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27&id2=3705ccfdd1e8b539225ce20e3925a945cc788d67'>diff</a>)</td></tr></table> <div class='commit-subject'>mm: do not export ioremap_page_range symbol for external module</div><div class='commit-msg'>Recently, I've found cases in which ioremap_page_range was used incorrectly, in external modules, leading to crashes. This can be partly attributed to the fact that ioremap_page_range is lower-level, with fewer protections, as compared to the other functions that an external module would typically call. Those include: ioremap_cache ioremap_nocache ioremap_prot ioremap_uc ioremap_wc ioremap_wt ...each of which wraps __ioremap_caller, which in turn provides a safer way to achieve the mapping. Therefore, stop EXPORT-ing ioremap_page_range. Link: http://lkml.kernel.org/r/1485173220-29010-1-git-send-email-zhongjiang@huawei.com Signed-off-by: zhong jiang <zhongjiang@huawei.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Suggested-by: John Hubbard <jhubbard@nvidia.com> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=3277953de2f31dd03c6375e9a9f680ac37fc9d27'>Diffstat</a> (limited to 'include/dt-bindings/pinctrl/omap.h')</div><table summary='diffstat' class='diffstat'>