/* * Line 6 Linux USB driver * * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at) * * 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. * */ #ifndef PLAYBACK_H #define PLAYBACK_H #include <sound/pcm.h> #include "driver.h" /* * When the TonePort is used with jack in full duplex mode and the outputs are * not connected, the software monitor produces an ugly noise since everything * written to the output buffer (i.e., the input signal) will be repeated in * the next period (sounds like a delay effect). As a workaround, the output * buffer is cleared after the data have been read, but there must be a better * solution. Until one is found, this workaround can be used to fix the * problem. */ #define USE_CLEAR_BUFFER_WORKAROUND 1 extern struct snd_pcm_ops snd_line6_playback_ops; extern int line6_create_audio_out_urbs(struct snd_line6_pcm *line6pcm); extern int line6_submit_audio_out_all_urbs(struct snd_line6_pcm *line6pcm); #endif master'>master</option> <option value='nds-private-remove' selected='selected'>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/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/wl1273.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/wl1273.h'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='33e962c8871f015f5c8978384553dddcf5b81b22'/><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=33e962c8871f015f5c8978384553dddcf5b81b22'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>codecs</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>wl1273.h</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='33e962c8871f015f5c8978384553dddcf5b81b22'/><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>Stanislaw Gruszka <sgruszka@redhat.com></td><td class='right'>2017-01-29 12:40:52 +0100</td></tr> <tr><th>committer</th><td>Kalle Valo <kvalo@codeaurora.org></td><td class='right'>2017-01-31 09:08:52 +0200</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>33e962c8871f015f5c8978384553dddcf5b81b22</a> (<a href='/cgit.cgi/linux/net-next.git/patch/sound/soc/codecs/wl1273.h?id=33e962c8871f015f5c8978384553dddcf5b81b22'>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=33e962c8871f015f5c8978384553dddcf5b81b22'>43aff96c2ee21d9e0fa2018457778a4de52053cd</a> /<a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>sound/soc/codecs/wl1273.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=575ddce0507789bf9830d089557d2199d2f91865'>575ddce0507789bf9830d089557d2199d2f91865</a> (<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/codecs/wl1273.h?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22&id2=575ddce0507789bf9830d089557d2199d2f91865'>diff</a>)</td></tr></table> <div class='commit-subject'>rt2x00: fix clk_get call</div><div class='commit-msg'>clk_get() takes two arguments and might return ERR_PTR(), so we have to nullify pointer on that case, to do not break further call to clk_get_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>Diffstat</a> (limited to 'sound/soc/codecs/wl1273.h')</div><table summary='diffstat' class='diffstat'>